-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
56 lines (49 loc) · 1.54 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
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import io
import os.path as P
from setuptools import setup, find_packages
def read(fname):
return io.open(P.join(P.dirname(__file__), fname), encoding='utf-8').read()
version = read('gzipi/VERSION').split('\n')[0]
requirements = ['smart-open', 'plumbum', 'zstandard', ]
setup_requirements = []
test_requirements = ['pytest', 'flake8', ]
setup(
author="Profound Networks",
author_email='[email protected]',
url='https://github.com/ProfoundNetworks/gzipi',
download_url='https://pypi.org/project/gzipi',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
install_requires=requirements,
include_package_data=True,
package_data={
'gzipi': [
'VERSION',
],
},
name='gzipi',
packages=find_packages(include=['gzipi']),
setup_requires=setup_requirements,
test_suite='tests',
description="Tools for indexing gzip files to support random-like access.",
long_description=read('README.rst'),
tests_require=test_requirements,
version=version,
zip_safe=False,
entry_points={
'console_scripts': [
'gzipi=gzipi.cli:main',
]
},
)