-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
27 lines (24 loc) · 901 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
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
requires = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip() # Remove spaces
line = line.split('#')[0] # Remove comments
if line: # Remove empty lines
requires.append(line)
setup(
name='django-pg-returning',
version='2.0.2',
packages=['django_pg_returning'],
package_dir={'': 'src'},
url='https://github.com/M1hacka/django-pg-returning',
license='BSD 3-clause "New" or "Revised" License',
author='Mikhail Shvein',
author_email='[email protected]',
description='A small library implementing PostgreSQL ability to return rows in DML statements for Django',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requires
)