1
|
|
|
from codecs import open |
2
|
|
|
from os import path |
3
|
|
|
|
4
|
|
|
from setuptools import find_packages, setup |
5
|
|
|
|
6
|
|
|
here = path.abspath(path.dirname(__file__)) |
7
|
|
|
|
8
|
|
|
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
9
|
|
|
long_description = f.read() |
10
|
|
|
|
11
|
|
|
setup( |
12
|
|
|
name='PyStratum-pgSQL', |
13
|
|
|
|
14
|
|
|
version='1.0.1', |
15
|
|
|
|
16
|
|
|
description='PyStratum-pgSQL: PostgresSQL Backend', |
17
|
|
|
long_description=long_description, |
18
|
|
|
|
19
|
|
|
url='https://github.com/DatabaseStratum/py-stratum-pgsql', |
20
|
|
|
|
21
|
|
|
author='Set Based IT Consultancy', |
22
|
|
|
author_email='[email protected]', |
23
|
|
|
|
24
|
|
|
license='MIT', |
25
|
|
|
|
26
|
|
|
classifiers=[ |
27
|
|
|
'Development Status :: 5 - Production/Stable', |
28
|
|
|
|
29
|
|
|
'Intended Audience :: Developers', |
30
|
|
|
'Topic :: Software Development :: Build Tools', |
31
|
|
|
'Topic :: Software Development :: Code Generators', |
32
|
|
|
'Topic :: System :: Installation/Setup', |
33
|
|
|
|
34
|
|
|
'License :: OSI Approved :: MIT License', |
35
|
|
|
|
36
|
|
|
'Programming Language :: Python :: 3', |
37
|
|
|
'Programming Language :: Python :: 3.6', |
38
|
|
|
'Programming Language :: Python :: 3.7', |
39
|
|
|
'Programming Language :: Python :: 3.8', |
40
|
|
|
'Programming Language :: Python :: 3.9', |
41
|
|
|
], |
42
|
|
|
|
43
|
|
|
keywords='PyStratum, PL/pgSQL, PostgresSQL', |
44
|
|
|
|
45
|
|
|
packages=find_packages(exclude=['build', 'test']), |
46
|
|
|
|
47
|
|
|
install_requires=['psycopg2<3, >=2.8.6', |
48
|
|
|
'PyStratum-Backend<2, >=1.0.2', |
49
|
|
|
'PyStratum-Common<2, >=1.0.3', |
50
|
|
|
'PyStratum-Middle<2, >=1.0.0'], |
51
|
|
|
) |
52
|
|
|
|