-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
63 lines (51 loc) · 1.77 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
59
60
61
62
63
"""Setup module
For more information, see:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
from setuptools import setup, find_packages
from codecs import open as codecs_open
here = os.path.abspath(os.path.dirname(__file__))
# Read package information from atlasplots/__version__.py
about = {}
with open(os.path.join(here, 'atlasplots', '__version__.py'), 'r') as f:
exec(f.read(), about)
# Get the long description from the relevant file
with codecs_open('README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=long_description,
url=about['__url__'],
author=about['__author__'],
author_email=about['__author_email__'],
license=about['__license__'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='CERN ATLAS PyROOT plotting',
packages=find_packages(exclude=['docs', 'tests']),
install_requires=['numpy', 'toml'],
extras_require={
'test': ['pytest', 'coverage'],
},
entry_points={
'console_scripts': [
'slim-trees=atlasplots.slim_trees:main',
],
},
)