forked from ryancox/motionless
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build | ||
.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 2010 Ryan A Cox - [email protected] | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/usr/bin/python | ||
|
||
import sys, os | ||
|
||
__author__ = 'Ryan Cox <[email protected]>' | ||
__version__ = '1.0' | ||
|
||
# Distutils version | ||
METADATA = dict( | ||
name = "motionless", | ||
version = __version__, | ||
py_modules = ['setup', 'motionless'], | ||
author = 'Ryan Cox', | ||
author_email = '[email protected]', | ||
description = 'An easy way to generate Google Static Map URLs with Python.', | ||
long_description = open("README.md").read(), | ||
license = 'Apache 2.0 License', | ||
url = 'http://github.com/ryancox/motionless', | ||
keywords = 'google static maps url api georss mapping gpx kml geo gis', | ||
) | ||
|
||
# Setuptools version | ||
SETUPTOOLS_METADATA = dict( | ||
install_requires = ['setuptools'], | ||
include_package_data = True, | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Public Source License', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
'Topic :: Multimedia :: Graphics :: Presentation', | ||
'Topic :: Internet', | ||
] | ||
) | ||
|
||
def Main(): | ||
try: | ||
import setuptools | ||
METADATA.update(SETUPTOOLS_METADATA) | ||
setuptools.setup(**METADATA) | ||
except ImportError: | ||
import distutils.core | ||
distutils.core.setup(**METADATA) | ||
|
||
if __name__ == '__main__': | ||
Main() |