-
Notifications
You must be signed in to change notification settings - Fork 19
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
bmcustodio
committed
Oct 12, 2014
1 parent
bf4eb20
commit 8cdabbc
Showing
3 changed files
with
56 additions
and
1 deletion.
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,4 @@ | ||
include LICENSE | ||
include README.rst | ||
include requirements/base.txt | ||
include requirements/test.txt |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
-r base.txt | ||
flake8==2.2.4 | ||
nose==1.3.4 |
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,52 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
|
||
from codecs import open | ||
|
||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
import polyline | ||
|
||
desc = "A Python implementation of Google's Encoded Polyline Algorithm Format." | ||
|
||
with open('README.rst', 'r') as f: | ||
long_desc = f.read() | ||
with open(os.path.join('requirements', 'base.txt'), 'r') as f: | ||
base_reqs = f.readlines() | ||
with open(os.path.join('requirements', 'test.txt'), 'r') as f: | ||
test_reqs = f.readlines() | ||
|
||
setup( | ||
name='polyline', | ||
version=polyline.__version__, | ||
description=desc, | ||
long_description=long_desc, | ||
author='Bruno M. Custódio', | ||
author_email='[email protected]', | ||
url='http://pypi.python.org/pypi/polyline/', | ||
packages=['polyline'], | ||
install_requires=base_reqs, | ||
tests_require=test_reqs, | ||
test_suite='nose.collector', | ||
license='MIT', | ||
zip_safe=False, | ||
classifiers=( | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: Utilities', | ||
), | ||
) |