forked from tequilahub/tequila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 1018 Bytes
/
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
from setuptools import setup, find_packages
import os
import sys
# on Windows: remove jax and jaxlib from requirements.txt and add autgrad
def read_requirements(fname):
with open('requirements.txt') as file:
lines=file.readlines()
requirements = [line.strip() for line in lines]
return requirements
extras_3_6 = ['dataclasses']
extras_3_7 = []
additional = []
requirements = read_requirements('requirements.txt')
setup(
name='tequila',
version="1.0",
author='Jakob S. Kottmann, Sumner Alperin-Lea, Teresa Tamayo-Mendoza, Cyrille Lavigne, Alba Cervera-Lierta, Abhinav Anand, Maha Kesebi, and others',
author_email='jakob.kottmann@gmail.com',
install_requires=requirements + additional,
extras_require={
':python_version < "3.7"': extras_3_6,
':python_version == "3.7"': extras_3_7
},
packages=find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
package_data={
'': [os.path.join('src')]
}
)