Skip to content

Commit

Permalink
Optimize dependencies (#24)
Browse files Browse the repository at this point in the history
1. Optimized requirements
2. Fixed requirements installation
  • Loading branch information
M1ha-Shvn authored Jan 7, 2021
1 parent 353b9a7 commit c20175f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ A small library implementing PostgreSQL ability to return rows in DML statements
* django >= 1.8
Previous versions may also work, but are not tested with CI.
bulk_create_returning method doesn't support .only() and .defer() filters for django before 1.10.
* pytz
* six
* typing
* psycopg2
* psycopg2-binary
* typing for python < 3.5
* PostgreSQL 9.4+
Previous versions may also work, but are not tested with CI.

Expand Down
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Django (>=1.7)
pytz
six
typing
psycopg2
django>=1.7
psycopg2-binary
typing; python_version < '3.5'
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='django-pg-returning',
version='1.3.0',
version='1.3.1',
packages=['django_pg_returning'],
package_dir={'': 'src'},
url='https://github.com/M1hacka/django-pg-returning',
Expand All @@ -23,5 +23,5 @@
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",
requires=requires
install_requires=requires
)

0 comments on commit c20175f

Please sign in to comment.