forked from scikit-hep/scikit-hep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·51 lines (46 loc) · 1.45 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
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
import sys
import os
# try to use setuptools if installed
from setuptools import setup, find_packages
from setuputils import read, find_version
# Prevent setup from trying to create hard links
# which are not allowed on AFS between directories.
# This is a hack to force copying.
try:
del os.link
except AttributeError:
pass
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
# setup.py can be called from outside the scikit-hep directory
os.chdir(LOCAL_PATH)
sys.path.insert(0, LOCAL_PATH)
setup(
name='scikit-hep',
version=find_version('skhep/__init__.py'),
description='Particle Physics python package',
long_description=read('README.rst'),
license='new BSD',
packages=find_packages(exclude=['tests']),
test_suite="tests",
py_modules=['setuputils'],
install_requires=[
'PyPDT>=0.7.0'
],
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Topic :: Utilities',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'License :: OSI Approved',
'Programming Language :: Python',
'Programming Language :: C++',
'Programming Language :: Cython',
'Development Status :: 1 - Planning',
]
)