-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (36 loc) · 1.26 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
41
42
from setuptools import setup
reqs = [line.strip() for line in open('requirements.txt')]
def readme():
with open('README.md') as f:
return f.read()
kwargs = {
'name': 'catalog-query',
'author': 'Micah Wengren',
'author_email': '[email protected]',
'url': 'https://github.com/mwengren/catalog_query',
'description': 'A set of functions to query the CKAN API for dataset metadata, output to local CSV files. Queries \
applied to IOOS Catalog by default (https://data.ioo.us/)',
'long_description': 'readme()',
'entry_points': {
'console_scripts': [
'catalog-query=catalog_query.catalog_query:main',
]
},
'classifiers': [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: GIS'
],
'packages': ['catalog_query', 'catalog_query.action'],
'package_data': {
},
'version': '0.1.0',
}
kwargs['install_requires'] = reqs
setup(**kwargs)