-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.31 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
43
from setuptools import setup
from io import open
import re
# Parse the version from the module without importing
with open('ckan_to_spark/__init__.py', 'r') as f:
version = re.search('__version__ = \'(.*?)\'', f.read()).group(1)
# Retrieve dependencies
with open('requirements.txt', 'r') as f:
reqs = f.readlines()
with open('test-requirements.txt', 'r') as f:
test_reqs = f.readlines()
# Retrieve readme
with open('README.rst', 'r') as f:
long_desc = f.read()
setup(
name='prequest',
version=version,
description='Convert CKAN data portals to Spark with Parquet on HDFS.',
long_description=long_desc,
author='Frederick Jansen',
author_email='[email protected]',
url='https://github.com/frederickjansen/ckan-to-spark',
packages=['ckan-to-spark'],
install_requires=reqs,
tests_require=test_reqs,
test_suite='nose.collector',
license='MIT',
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
),
)