-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (46 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
47
48
49
50
51
52
"""
Copyright (c) 2023, Jairus Martin.
Distributed under the terms of the GPL v3 License.
The full license is in the file LICENSE, distributed with this software.
"""
import re
from setuptools import setup, find_packages
# Read version
with open('zerobooks/__init__.py') as f:
m = re.search(r'version = ["\'](.+)["\']', f.read(), re.MULTILINE)
assert m is not None, 'Failed to read version'
version = m.group(1)
setup(
name='zerobooks',
version=version,
description='A non-saas invoicing software.',
author="CodeLV",
author_email="[email protected]",
license="AGPLv3",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.8",
url='https://codelv.com/projects/zerobooks/',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
'enaml',
'enamlx',
'qtpy',
'pyqt6',
'weasyprint',
'enaml-web',
'atom-db',
'asyncqtpy',
'sqlalchemy',
'alembic',
'aiosqlite @ git+https://github.com/frmdstryr/aiosqlite.git@sa-support'
],
extras_require={
"webengine": "pyqt6-webengine",
"editor": "pyqt6-qscintilla",
},
entry_points={
'console_scripts': ['zerobooks = zerobooks.app:main'],
},
)