This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
forked from oist/optinist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (61 loc) · 2.05 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
exec(open(os.path.join(here, "optinist", "version.py")).read())
def _requires_from_file(filepath):
def take_package_name(name):
# if "snakemake" in name:
# return (
# "snakemake @ https://github.com/ShogoAkiyama/snakemake/"
# "archive/refs/tags/v7.7.2-post1.zip"
# )
# else:
return name.strip()
with open(filepath) as fp:
return [take_package_name(pkg_name) for pkg_name in fp.readlines()]
setup(
name="optinist",
version=VERSION, # noqa: F821
description="Calcium Imaging Pipeline Tool",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/oist/optinist",
author="OIST",
license="GPL3.0",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
],
install_requires=_requires_from_file("requirements.txt"),
packages=find_packages(exclude=["optinist/tests*"]),
tests_require=["pytest"],
zip_safe=False,
include_package_data=True,
package_data={
"": [
"frontend/build/*",
"frontend/build/static/*",
"frontend/build/static/css/*",
"frontend/build/static/js/*",
"frontend/build/static/media/*",
"app_config/*.yaml",
"config/*.yaml",
"conda/*.yaml",
"Snakefile",
]
},
py_modules=["Snakefile"],
entry_points={
"console_scripts": [
"run_optinist=optinist.__main__:main",
]
},
)