forked from cta-observatory/cta-lstchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 1.12 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
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# import sys
import setuptools
import lstchain
import os
def list_scripts():
script_dir = 'scripts'
script_list = [f'{os.path.join(script_dir, f)}' for f in os.listdir(script_dir) if f.startswith('lstchain_')]
return script_list
setuptools.setup(name='lstchain',
version=lstchain.__version__,
description="DESCRIPTION", # these should be minimum list of what is needed to run
packages=setuptools.find_packages(),
install_requires=['h5py',
'seaborn'
],
package_data={'lstchain': ['data/lstchain_standard_config.json']},
tests_require=['pytest', 'pytest-ordering'],
author='LST collaboration',
author_email='',
license='',
url='https://github.com/cta-observatory/cta-lstchain',
long_description='',
classifiers=[],
scripts=list_scripts()
)