-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (60 loc) · 2.53 KB
/
setup.py
File metadata and controls
64 lines (60 loc) · 2.53 KB
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
# coding: utf-8
import os
import setuptools
import teilab
DESCRIPTION = "シークエンシング、生化学反応シミュレーション、および遺伝子発現プロファイリング等の生物情報科学的実験を行う。本実習は、生物化学科と合同で実施する。"
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
# Requirements.txt → install_requires (for Poetry)
# INSTALL_REQUIRES = []
# with open("requirements.txt", mode="r") as f:
# valid_line = ""
# for line in f:
# if line.endswith("\\\n"):
# valid_line += line.rstrip("\\\n")
# else:
# valid_line += line.rstrip("\\\n")
# INSTALL_REQUIRES.append(valid_line)
# valid_line = ""
# if len(valid_line)>0: INSTALL_REQUIRES.append(valid_line)
with open("requirements.txt", mode="r") as f:
INSTALL_REQUIRES = [line.rstrip("\n") for line in f.readlines()]
def setup_package():
metadata = dict(
name="UiTei-Lab-Course",
version=teilab.__version__,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=teilab.__author__,
author_email=teilab.__author_address__,
license=teilab.__license__,
project_urls={
"Documentation" : teilab.__documentation__,
"Bug Reports" : "https://github.com/iwasakishuto/TeiLab-BasicLaboratoryWork-in-LifeScienceExperiments/issues",
"Source Code" : "https://github.com/iwasakishuto/TeiLab-BasicLaboratoryWork-in-LifeScienceExperiments",
"Say Thanks!" : "https://twitter.com/cabernet_rock",
},
packages=setuptools.find_packages(),
python_requires=">=3.7.10",
install_requires=INSTALL_REQUIRES,
extras_require={
"tests": ["pytest"],
},
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"License :: Free For Educational Use",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Topic :: Education",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Education",
],
entry_points = {},
)
setuptools.setup(**metadata)
if __name__ == "__main__":
setup_package()