forked from xmunoz/sodapy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (34 loc) · 1.17 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
40
#!/usr/bin/env python
from setuptools import setup
with open("sodapy/version.py") as f:
exec(f.read())
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README').read()
with open('requirements.txt') as requirements:
required = requirements.read().splitlines()
kwargs = {
"name": "sodapy",
"version": str(__version__),
"packages": ["sodapy"],
"description": "Python bindings for the Socrata Open Data API",
"long_description": long_description,
"author": "Cristina Munoz",
"maintainer": "Cristina Munoz",
"author_email": "hi@xmunoz.com",
"maintainer_email": "hi@xmunoz.com",
"license": "MIT",
"install_requires": required,
"url": "https://github.com/xmunoz/sodapy",
"download_url": "https://github.com/xmunoz/sodapy/archive/master.tar.gz",
"keywords": "soda socrata opendata api",
"classifiers": [
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
}
setup(**kwargs)