-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
99 lines (85 loc) · 3.11 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import sys
from os import path
from setuptools import find_packages, setup
if sys.version_info < (3, 8):
print("Error: sqlite-rx does not support this version of Python.")
print("Please upgrade to Python 3.8 or higher.")
sys.exit(1)
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
VERSION = '1.2.2'
DISTNAME = 'sqlite_rx'
LICENSE = 'MIT License'
AUTHOR = 'Abhishek Singh'
MAINTAINER = 'Abhishek Singh'
MAINTAINER_EMAIL = '[email protected]'
DESCRIPTION = 'Python SQLite Client and Server'
URL = 'https://github.com/aosingh/sqlite_rx'
PACKAGES = ['sqlite_rx']
INSTALL_REQUIRES = ['msgpack==1.1.0',
'pyzmq==26.2.0',
'tornado==6.4.2',
'billiard==4.2.1']
CLI_REQUIRES = ['click==8.1.7', 'rich==13.9.3', 'pygments==2.18.0']
TEST_REQUIRE = ['pytest',
'coverage']
classifiers = [
'Topic :: Database :: Database Engines/Servers',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'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',
'Programming Language :: Python :: 3.13',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS'
]
keywords = 'sqlite client server fast secure'
project_urls = {"Documentation": "https://aosingh.github.io/sqlite_rx/",
"Source": "https://github.com/aosingh/sqlite_rx",
"Bug Tracker": "https://github.com/aosingh/sqlite_rx/issues",
"CI": "https://github.com/aosingh/sqlite_rx/actions",
"Release Notes": "https://github.com/aosingh/sqlite_rx/releases",
"License": "https://github.com/aosingh/sqlite_rx/blob/master/LICENSE"}
setup(
name=DISTNAME,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
project_urls=project_urls,
version=VERSION,
scripts=['bin/curve-keygen'],
entry_points={
'console_scripts': [
'sqlite-server=sqlite_rx.cli.server:main',
'sqlite-client=sqlite_rx.cli.client:main'
]
},
extras_require={
'cli': CLI_REQUIRES
},
packages=find_packages(exclude=("tests",)),
package_dir={'sqlite_rx': 'sqlite_rx'},
install_requires=INSTALL_REQUIRES,
test_require=TEST_REQUIRE,
include_package_data=True,
classifiers=classifiers,
keywords=keywords,
python_requires='>=3.8'
)