-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (47 loc) · 1.49 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
48
49
import os, sys
from pathlib import Path
HERE = Path(os.path.realpath(__file__)).parent
sys.path = [str(p) for p in set([
HERE.joinpath("src")
]+sys.path)]
import setuptools
from metasmith.constants import NAME, VERSION, SHORT_SUMMARY, ENTRY_POINTS, GIT_URL
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
if __name__ == "__main__":
setuptools.setup(
name=NAME,
version=VERSION,
author="Tony Liu, Ryan McLaughlin, Anika Nag, Aditi Nagaraj, and Steven J. Hallam",
author_email="shallam@mail.ubc.ca",
description=SHORT_SUMMARY,
long_description=long_description,
long_description_content_type="text/markdown",
license_files = ('LICENSE',),
url=f"{GIT_URL}",
project_urls={
"Bug Tracker": f"{GIT_URL}/issues",
},
classifiers=[
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX :: Linux",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
package_data={
"":[ # "" is all packages
"version.txt",
"nextflow_config/*",
"bin/*",
],
# examples
# "package-name": ["*.txt"],
# "test_package": ["res/*.txt"],
},
entry_points={
'console_scripts': ENTRY_POINTS,
},
python_requires=">=3.12",
install_requires=[
]
)