2017-06-06 11:43:33 +08:00
|
|
|
import os
|
2020-05-11 04:58:03 +08:00
|
|
|
from io import open
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
2013-03-21 00:55:52 +08:00
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
2020-05-11 04:58:03 +08:00
|
|
|
README = open(os.path.join(here, "README.rst"), encoding="utf-8").read()
|
|
|
|
NEWS = open(os.path.join(here, "NEWS.rst"), encoding="utf-8").read()
|
2013-03-21 00:55:52 +08:00
|
|
|
|
|
|
|
|
2023-01-30 09:40:18 +08:00
|
|
|
version = "0.5.0"
|
2013-03-21 00:55:52 +08:00
|
|
|
|
|
|
|
install_requires = [
|
2023-01-30 09:40:18 +08:00
|
|
|
"prettytable",
|
|
|
|
"ipython",
|
2023-02-26 12:57:18 +08:00
|
|
|
"sqlalchemy>=2.0",
|
2020-05-11 04:58:03 +08:00
|
|
|
"sqlparse",
|
|
|
|
"six",
|
2023-01-30 09:40:18 +08:00
|
|
|
"ipython-genutils",
|
2013-03-21 00:55:52 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
2020-05-11 04:58:03 +08:00
|
|
|
setup(
|
|
|
|
name="ipython-sql",
|
2013-03-21 00:55:52 +08:00
|
|
|
version=version,
|
|
|
|
description="RDBMS access via IPython",
|
2020-05-11 04:58:03 +08:00
|
|
|
long_description=README + "\n\n" + NEWS,
|
|
|
|
long_description_content_type="text/x-rst",
|
2013-03-21 00:55:52 +08:00
|
|
|
classifiers=[
|
2020-05-11 04:58:03 +08:00
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Environment :: Console",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Topic :: Database",
|
|
|
|
"Topic :: Database :: Front-Ends",
|
|
|
|
"Programming Language :: Python :: 3",
|
2013-03-21 00:55:52 +08:00
|
|
|
],
|
2020-05-11 04:58:03 +08:00
|
|
|
keywords="database ipython postgresql mysql",
|
|
|
|
author="Catherine Devlin",
|
|
|
|
author_email="catherine.devlin@gmail.com",
|
2020-07-01 02:24:58 +08:00
|
|
|
url="https://github.com/catherinedevlin/ipython-sql",
|
2022-03-04 02:37:23 +08:00
|
|
|
project_urls={
|
|
|
|
"Source": "https://github.com/catherinedevlin/ipython-sql",
|
|
|
|
},
|
2020-05-11 04:58:03 +08:00
|
|
|
license="MIT",
|
|
|
|
packages=find_packages("src"),
|
|
|
|
package_dir={"": "src"},
|
2013-03-21 10:17:48 +08:00
|
|
|
include_package_data=True,
|
2013-03-21 00:55:52 +08:00
|
|
|
zip_safe=False,
|
|
|
|
install_requires=install_requires,
|
|
|
|
)
|