-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
51 lines (42 loc) · 1.41 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
45
46
47
48
49
50
51
#!/usr/bin/env python
import os
try:
import setuptools as setup_mod
except ImportError:
import distutils.core as setup_mod
here = os.path.dirname(__file__)
version = os.path.join(here, 'pg_temp', 'version.py')
scope = {}
exec(open(version).read(), scope)
with open("README.md", "r") as fh:
long_description = fh.read()
SETUP_ARGS = dict(
name='pg_temp',
version=scope['__version__'],
description='Quickly create Postgres databases, e.g. for testing',
long_description=long_description,
long_description_content_type="text/markdown",
author='Uri Okrent',
author_email='[email protected]',
url='https://github.com/ugtar/pg_temp',
license='MIT',
platforms=['POSIX'],
keywords=['postgres', 'testing'],
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
],
options={'clean': {'all': 1}},
packages=['pg_temp'],
python_requires='>=3.5',
)
if __name__ == '__main__':
setup_mod.setup(**SETUP_ARGS)