-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
35 lines (32 loc) · 1021 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
32
33
34
35
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
requirements = [
'prettytable',
'psycopg2',
]
setuptools.setup(
name="pg_explain_locks", # Replace with your own username
version="0.0.3",
author="Adam Tal",
author_email="[email protected]",
description="Postgres utility to show what locks will be acquired by a given query.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AdmTal/PostgreSQL-Query-Lock-Explainer",
py_modules=['pg_explain_locks'],
packages=setuptools.find_packages(),
setup_requires=requirements,
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'pg_explain_locks = pg_explain_locks:main',
],
},
python_requires='>=3.6',
)