Skip to content

Commit d79b6f6

Browse files
committed
added setup.py
1 parent 7692d5b commit d79b6f6

4 files changed

Lines changed: 138 additions & 79 deletions

File tree

Pipfile.lock

Lines changed: 86 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Main script."""
12
from os import environ
23
from sqlalchemy import create_engine
34
from sqlalchemy.types import Integer, Text, String, DateTime

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
numpy==1.17.0
2-
pandas==0.25.0
3-
psycopg2-binary==2.8.3
4-
python-dateutil==2.8.0
5-
pytz==2019.2
6-
six==1.12.0
7-
SQLAlchemy==1.3.6
1+
numpy==1.18.0
2+
pandas==0.25.3
3+
psycopg2-binary==2.8.4
4+
python-dateutil==2.8.1
5+
pytz==2019.3
6+
six==1.13.0
7+
SQLAlchemy==1.3.12

setup.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
"""A setuptools based setup module."""
2+
from os import path
3+
from setuptools import setup, find_packages
4+
from io import open
5+
6+
here = path.abspath(path.dirname(__file__))
7+
8+
# Get the long description from the README file
9+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
10+
long_description = f.read()
11+
12+
setup(
13+
name='Pandas SQLAlchemy Tutorial',
14+
version='0.0.1',
15+
description='Easily drop data into Pandas from a SQL database or upload DataFrames to a SQL table.',
16+
long_description=long_description,
17+
long_description_content_type='text/markdown',
18+
url='https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial',
19+
author='Todd Birchard',
20+
author_email='hackersandslackers@gmail.com',
21+
classifiers=[
22+
'Programming Language :: Python :: 3',
23+
'Programming Language :: Python :: 3.7',
24+
],
25+
keywords='Flask Flask-WTF Forms',
26+
packages=find_packages(),
27+
install_requires=['Pandas',
28+
'SQLAlchemy',
29+
'Psycopg2-binary'],
30+
extras_require={
31+
'dev': ['check-manifest'],
32+
'test': ['coverage'],
33+
'env': ['python-dotenv']
34+
},
35+
entry_points={
36+
'console_scripts': [
37+
'name=wsgi:__main__',
38+
],
39+
},
40+
project_urls={
41+
'Bug Reports': 'https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/issues',
42+
'Source': 'https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/',
43+
},
44+
)

0 commit comments

Comments
 (0)