forked from scikit-hep/decaylanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (69 loc) · 2.45 KB
/
setup.py
File metadata and controls
78 lines (69 loc) · 2.45 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
import io
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
def proc_readme(text):
text = text.split('<!-- break -->')[-1]
return '''
](https://github.com/scikit-hep/decaylanguage/raw/master/images/DecayLanguage.png)
''' + text
setup(
name='decaylanguage',
version='0.2.0',
license='BSD 3-Clause License',
description='A language to describe particle decays, and tools to work with them.',
long_description=proc_readme(read('README.md')) + '\n\n' + read('CHANGELOG.md'),
long_description_content_type="text/markdown",
author='Henry Fredrick Schreiner III',
author_email='henry.schreiner@cern.ch',
url='https://github.com/scikit-hep/decaylanguage',
packages=find_packages(),
include_package_data=True,
zip_safe=True,
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 3 - Alpha",
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
],
keywords=[
'particle', 'decay', 'HEP'
],
install_requires=[
'plumbum>=1.6.6',
'attrs>=17.0',
'numpy>=1.12',
'pandas>=0.22',
'six>=1.11',
'pathlib2>=2.3; python_version<"3.5"',
'enum34>=1.1; python_version<"3.4"',
'importlib_resources>=1.0; python_version<"3.7"',
],
extras_require={
'notebook': ['graphviz'],
},
setup_requires=['pytest-runner'],
tests_require=['pytest']
)