-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
50 lines (43 loc) · 1.74 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
from pathlib import Path
from distutils.core import setup
from setuptools import find_packages
import versioneer
CODE_DIRECTORY = Path(__file__).parent
def read_file(file_path: Path):
"""Source the contents of a file"""
with open(str(file_path), encoding="utf-8") as file:
return file.read()
setup(
name="sql_to_ibis",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(),
long_description=read_file(CODE_DIRECTORY / "README.rst"),
maintainer="Zach Brookler",
maintainer_email="[email protected]",
description="A package for converting sql into ibis expressions",
python_requires=">=3.8.0",
install_requires=["lark-parser==1.1.2", "ibis-framework==2.1.1"],
project_urls={
"Source Code": "https://github.com/zbrookle/sql_to_ibis",
"Documentation": "https://github.com/zbrookle/sql_to_ibis",
"Bug Tracker": "https://github.com/zbrookle/sql_to_ibis/issues",
},
url="https://github.com/zbrookle/sql_to_ibis",
download_url="https://github.com/zbrookle/sql_to_ibis/archive/master.zip",
keywords=["pandas", "data", "dataframe", "sql", "ibis", "database", "query", "etl"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Database :: Front-Ends",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Typing :: Typed",
"Operating System :: OS Independent",
],
long_description_content_type="text/x-rst",
include_package_data=True,
)