Skip to content

Commit

Permalink
Add inital setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Apr 9, 2012
1 parent a0ea0f5 commit 7da3567
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -1,7 +1,12 @@
/EGG-INFO
/bin
/distribute-*.tar.gz
/include
/lib
/man
/tilecloud.egg-info
.coverage
*.egg
*.jpg
*.log
*.mbtiles
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -0,0 +1 @@
include README.md
7 changes: 7 additions & 0 deletions setup.cfg
@@ -0,0 +1,7 @@
[nosetests]
match=^test
where=tilecloud
nocapture=1
cover-package=tilecloud
with-coverage=1
cover-erase=1
45 changes: 45 additions & 0 deletions setup.py
@@ -0,0 +1,45 @@
from setuptools import setup, find_packages
import os

version = '0.1'

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()

install_requires = [
'bottle',
'pyproj',
]

setup_requires = [
'nose',
]

tests_require = install_requires = [

This comment has been minimized.

Copy link
@fredj

fredj Apr 10, 2012

Member

tests_require = install_requires + ['coverage'] instead ?

This comment has been minimized.

Copy link
@twpayne

twpayne Apr 10, 2012

Author Contributor

Indeed, thanks @fredj! Fixed in 2b05c75.

'coverage',
]

setup(
name='tilecloud',
version=version,
description='Tools for managing tiles',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
],
author='Tom Payne',
author_email='twpayne@gmail.com',
url='http://github.com/twpayne/tilecloud',
license='BSD',
packages=find_packages(exclude=['tiles']),
zip_safe=True,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
test_suite='tilecloud.tests',
entry_points="""
# -*- Entry points: -*-
""",
long_description=README,
)

0 comments on commit 7da3567

Please sign in to comment.