-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (29 loc) · 1.01 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
import os
from setuptools import setup, find_packages
PACKAGE = "lazyspectra"
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_scripts(path):
temp = [path+'/'+s for s in os.listdir(path)]
try:
temp.remove(path+'/'+'README.md')
except:
pass
return temp
setup( # Finally, pass this all along to distutils to do the heavy lifting.
name = PACKAGE,
version = '0.0.1',
description = 'lazyspectra packages',
long_description = read('README.md'),
author = ' ',
author_email = ' ',
url = 'https://github.com/matteo-brg/lazyspectra.git',
# license = read('LICENSE'),
install_requires = read('requirements.txt').splitlines(),
package_dir = {'': 'src'},
packages = find_packages(where='src'),
scripts = find_scripts('scripts'),
# include_package_data=True,
python_requires = '>=3.8',
zip_safe = False,
)