forked from cid-harvard/pandas-to-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (27 loc) · 879 Bytes
/
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
import os
from setuptools import setup, find_packages
def read(fname, lines=False):
f = open(os.path.join(os.path.dirname(__file__), fname))
if lines:
return [x.strip() for x in f.readlines()]
else:
return f.read()
setup(
name="pandas_to_postgres",
version="v0.0.3",
author="Brendan Leonard <Harvard CID>",
description=(
"Utility to copy Pandas DataFrames and DataFrames stored in HDF5 files "
"to PostgreSQL "
),
url="http://github.com/cid-harvard/pandas-to-postgres",
packages=find_packages(),
install_requires=["SQLAlchemy", "pandas", "psycopg2", "tables"],
long_description=read("README.md"),
classifiers=[
"Topic :: Database",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: BSD License",
"Development Status :: 3 - Alpha",
],
)