-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
37 lines (31 loc) · 1.2 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
"""Setup script for fast_to_sql
"""
import os
from setuptools import find_packages, setup
def read(fname: str):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="fast-to-sql",
version=os.getenv("PYPI_PACKAGE_VERSION", "v0.0.1dev0"),
description="An improved way to upload pandas dataframes to Microsoft SQL Server.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"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",
"License :: OSI Approved :: MIT License",
],
author="Jarred Glaser",
author_email="[email protected]",
url="https://github.com/jdglaser/fast-to-sql",
license="License :: OSI Approved :: MIT License",
keywords=["pandas", "to_sql", "fast", "sql"],
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=["pandas", "pyodbc"],
)