-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
48 lines (41 loc) · 1.36 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
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# import sys
import os
from setuptools import setup, find_packages
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('.', path, filename))
return paths
dataset = package_files('share')
print("dataset {}".format(dataset))
setup(name='pschitt',
version=1.0,
description="DESCRIPTION",
# these should be minimum list of what is needed to run (note
# don't need to list the sub-dependencies like numpy, since
# astropy already depends on it)
install_requires=[
'numpy',
'scipy',
'matplotlib>=2.0',
'numba'
],
packages=find_packages(),
tests_require=['pytest'],
author='Thomas Vuillaume',
author_email='[email protected]',
license='BSD3',
url='https://github.com/vuillaut/pschitt',
long_description='',
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 3 - Alpha',
],
data_files=[('pschitt/', dataset)],
)