-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·50 lines (43 loc) · 1.37 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
#!/usr/bin/env python3
from configparser import ConfigParser
from setuptools import find_packages, setup
from mysqlite import __version__
def requires(section):
config = ConfigParser()
config.read("Pipfile")
return list(config[section].keys())
setup(
name="mysqlite",
version=__version__,
author="metallkopf",
description="Query a SQLite database as read-only over MySQL protocol",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/metallkopf/mysqlite",
packages=find_packages(),
install_requires=requires("packages"),
extras_require={"dev": requires("dev-packages")},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Internet",
"Topic :: Utilities",
],
keywords="mysql sqlite server",
python_requires=">=3.7",
license="GPLv2",
license_files=["LICENSE.md"],
entry_points={
"console_scripts": [
"mysqlite=mysqlite.mysqlite:main",
],
},
)