-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (29 loc) · 1.14 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
from setuptools import setup, find_packages
# with open('requirements.txt') as requirements_file:
# install_requirements = requirements_file.read().splitlines()
def requirements_from_file(file_name):
return open(file_name).read().splitlines()
setup(
name="ml_writing_helper",
version="0.0.3",
description="Helper tool to insert created diagrams to markup language such as LaTeX, Markdown and HTML and so on.",
author="Hirotsugu Minowa",
packages=find_packages("src"),
package_dir={"": "src"},
# install_requires=install_requirements,
install_requires=requirements_from_file('requirements.txt'),
# 要検討
# もしCLIツールを作る場合は、下記通りentrypointを指定するとよい。
# 実行した下位Folderすべて監視して、pptxをpngに変換してはどうか
#
entry_points={
"console_scripts": [
"convert4ml=src:convert",
]
},
classifiers=[
'Programming Language :: Python :: 3.9',
],
# package_data={'requirement': ['requirements.txt'], "poetry": ["poetry.toml"]},
package_data={'requirement': ['requirements.txt']},
)