-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
46 lines (41 loc) · 1.31 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
import setuptools
import importlib
with open("README.md", "r") as fh:
long_description = fh.read()
# Load a version number module?!
spec = importlib.util.spec_from_file_location(
'version', 'gnucash_uk_vat/version.py'
)
version_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version_module)
version = version_module.version
setuptools.setup(
name="gnucash-uk-vat",
version=version,
author="Cybermaggedon",
author_email="[email protected]",
description="UK HMRC VAT submission bridge for GnuCash users",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cybermaggedon/gnucash-uk-vat",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
download_url = "https://github.com/cybermaggedon/gnucash-uk-vat/archive/refs/tags/v%s.tar.gz" % version,
install_requires=[
'aiohttp',
'py-dmidecode',
'requests',
'piecash',
'netifaces',
'tabulate',
],
scripts=[
"scripts/gnucash-uk-vat",
"scripts/vat-test-service"
]
)