-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (45 loc) · 1.78 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
from os.path import abspath
from os.path import dirname
from os.path import join
from re import MULTILINE
from re import search
from textwrap import dedent
from setuptools import find_packages
from setuptools import setup
here = abspath(dirname(__file__))
with open(join(here, "shukujitsu", "__init__.py"), encoding="utf-8") as fp:
version = search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fp.read(), MULTILINE).group(1)
with open(join(here, "README.md"), encoding="utf-8") as fp:
long_description = fp.read()
setup(name="python-shukujitsu",
version=version,
packages=find_packages(),
python_requires=">=3",
install_requires=["python-dateutil"],
include_package_data=True,
author="Youhei Sakurai",
author_email="[email protected]",
maintainer="Youhei Sakurai",
maintainer_email="[email protected]",
url="https://github.com/sakurai-youhei/python-shukujitsu",
license="MIT",
description=long_description.splitlines()[1],
long_description=long_description,
long_description_content_type="text/markdown",
platforms="any",
entry_points=dict(console_scripts=["shukujitsu = "
"shukujitsu.__main__:main"]),
classifiers=dedent("""\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: Japanese
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
""").splitlines())