Skip to content

Commit

Permalink
setup and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancox committed Aug 4, 2010
1 parent 0120002 commit 8949a14
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
.pyc
13 changes: 13 additions & 0 deletions LICENSE
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.
47 changes: 47 additions & 0 deletions setup.py
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()

0 comments on commit 8949a14

Please sign in to comment.