-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
34 lines (29 loc) · 976 Bytes
/
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
from pathlib import Path
from setuptools import setup
__VERSION__ = "1.1.0"
root = Path(__file__).parent
long_description = (root / "README.md").read_text()
# 写版本号
with open("beancount_bot_costflow/__version__.py", "w") as f:
f.write(f"__VERSION__ = '{__VERSION__}'")
setup(
name='beancount_bot_costflow',
version=__VERSION__,
packages=['beancount_bot_costflow'],
package_data={'': ['costflow-parser.js']},
url='https://github.com/kaaass/beancount_bot_costflow',
install_requires=[
'beancount_bot>=1.0.1',
],
license='GPLv3',
author='KAAAsS',
author_email='admin@kaaass.net',
description='A plugin adds costflow syntax supports for beancount_bot',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)