forked from ThibTrip/pangres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (38 loc) · 1.68 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
import setuptools
import os
here = os.path.abspath(os.path.dirname(__file__))
description = 'Postgres insert update with pandas DataFrames.'
# Import the README and use it as the long-description.
try:
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = description
with open(os.path.join(here, "requirements.txt"), "r") as f:
requirements = [line.strip() for line in f.readlines()]
setuptools.setup(
name="pangres",
version="4.1.4",
license='The Unlicense',
author="Thibault Bétrémieux",
author_email="[email protected]",
url='https://github.com/ThibTrip/pangres',
download_url='https://github.com/ThibTrip/pangres/archive/v4.1.4.tar.gz',
keywords=['pandas', 'postgres', 'mysql', 'sqlite'],
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=requirements,
package_data={"pangres": ["py.typed"]},
classifiers=["Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: Public Domain",
"Intended Audience :: Developers",
"Operating System :: OS Independent"])