-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (40 loc) · 1.17 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
import glob
import os.path as op
from setuptools import setup
def read_file(file):
with open(file) as fin:
return fin.read()
def find_all_file(starting_path, *pattern):
return [
op.relpath(f, starting_path)
for f in glob.glob(op.join(starting_path, *pattern, "**"), recursive=True)
]
setup(
name="elaspic-webserver",
version="0.2.10",
author="kimlab",
author_email="alex.strokach@utoronto.ca",
url="http://elaspic.kimlab.org",
description="Webserver for running ELASPIC",
long_description=read_file("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
license="MIT",
packages=["mum", "web_pipeline"],
package_data={
"web_pipeline": (
[
"migrations/*",
"sql/*",
"templates/*",
]
+ find_all_file("web_pipeline", "static")
+ find_all_file("web_pipeline", "tests")
)
},
scripts=["manage.py"],
)