-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (28 loc) · 873 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
from setuptools import setup, find_packages
import os
__version__ = ""
for line in open('maxentscan/__init__.py'):
if line.startswith('__version__'):
exec(line.strip())
# setup pkgs to install
PACKAGES = find_packages()
# list for pre-requisite modules
# requirments.txt is preferred to pin specific version of modules
REQUIRES = []
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
extra_files = package_files('maxentscan')
setup(
name='maxentscan',
version=__version__,
description='package for common modules used in jklab',
author='dwkim',
packages = PACKAGES,
install_requires = REQUIRES,
python_requires = '>=3.6',
package_data={'':extra_files}
)