-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
39 lines (35 loc) · 1.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
# Install prereqs here and now if we can.
from setuptools import setup
kw = { 'install_requires': [
'requests>=2.2.1'
] }
except ImportError:
from distutils.core import setup
print 'No setuptools. Do\n\n $ pip install -I requirements.txt\n\n\nto install dependencies.'
kw = {}
execfile('nyc_geoclient/version.py')
packages = ['nyc_geoclient']
setup(
name='nyc_geoclient',
version=__version__,
description='Python bindings for the NYC Geoclient REST API',
long_description=open('README.md').read(),
author='John Krauss',
author_email='[email protected]',
url='http://github.com/talos/nyc-geoclient',
packages=packages,
license='BSD',
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
),
**kw
)