-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
58 lines (52 loc) · 1.63 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
57
58
from codecs import open
from setuptools import setup, find_packages
from os import path
REQUIREMETS_DEV_FILE = 'requirements_dev.txt'
REQUIREMETS_FILE = 'requirements.txt'
PROJECTNAME = 'binningpy'
VERSION = '0.0.1'
DESCRIPTION = 'simple tools'
URL = ''
AUTHOR = 'hsz'
AUTHOR_EMAIL = ''
LICENSE = 'MIT'
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Documentation :: Sphinx',
]
KEYWORDS = ["tools"]
PACKAGES = find_packages(exclude=['contrib', 'docs', 'test'])
ZIP_SAFE = False
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
REQUIREMETS_DIR = path.join(HERE, "requirements")
with open(path.join(REQUIREMETS_DIR, REQUIREMETS_FILE), encoding='utf-8') as f:
REQUIREMETS = f.readlines()
with open(path.join(REQUIREMETS_DIR, REQUIREMETS_DEV_FILE), encoding='utf-8') as f:
REQUIREMETS_DEV = f.readlines()
setup(
name=PROJECTNAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=PACKAGES,
include_package_data=True,
install_requires=REQUIREMETS,
extras_require={
'dev': REQUIREMETS_DEV
},
zip_safe=ZIP_SAFE,
data_files=[('requirements', ['requirements/requirements.txt',
'requirements/requirements_dev.txt'])]
)