-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (27 loc) · 928 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
"""
basic setup to start
"""
from setuptools import setup, find_packages
import os
lib_folder = os.path.dirname(os.path.realpath(__file__))
long_description = open(os.path.join(lib_folder,'README.md')).read()
requirements_path = os.path.join(lib_folder, 'requirements.txt')
print(requirements_path)
install_requires = list()
if os.path.isfile(requirements_path):
with open(requirements_path) as f:
install_requires = f.read().splitlines()
print(install_requires)
setup(name="medic",
version='1.0',
description="Model Error Detection in Cryo-EM",
long_description=long_description,
author="Gabriella Reggiano",
packages=find_packages(include=['medic','DeepAccNet/deepAccNet'],exclude=["medic_model"]),
scripts=['detect_errors.py'],
include_package_data=True,
package_data={
'DeepAccNet': ['deepAccNet/data/*.txt', 'deepAccNet/data/*.csv', 'models/NatComm_standard/*.pkl'],
},
install_requires=install_requires
)