forked from datamill-co/target-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (37 loc) · 1.08 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
#!/usr/bin/env python
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='singer-target-postgres',
url='https://github.com/datamill-co/target-postgres',
author='datamill',
version="0.1.6",
description='Singer.io target for loading data into postgres',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['target_postgres'],
install_requires=[
'arrow==0.13.0',
'jsonschema==2.6.0',
'psycopg2==2.7.7',
'psycopg2-binary==2.7.7',
'singer-python==5.4.1'
],
setup_requires=[
"pytest-runner"
],
tests_require=[
"chance==0.110",
"Faker==0.9.2",
"pytest==3.9.3"
],
entry_points='''
[console_scripts]
target-postgres=target_postgres:cli
''',
packages=find_packages()
)