Skip to content

Commit

Permalink
Merge pull request #131 from gopackgo90/patch-2
Browse files Browse the repository at this point in the history
Drop Django 2.2 Support and Bump minimum Python to 3.6
  • Loading branch information
vbabiy committed May 10, 2023
2 parents 6147771 + 8f7b936 commit af1218d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include AUTHORS.rst
include HISTORY.rst
include LICENSE
include README.rst
include README.rst
include requirements.txt
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
djangorestframework>=2.0.0
django>=2.2
djangorestframework>=3.13.0
django>=3.2
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import os
import sys
from pathlib import Path


try:
Expand All @@ -18,6 +19,10 @@
history = open("HISTORY.rst").read().replace(".. :changelog:", "")
import djangorestframework_camel_case

def extract_requires():
with Path('requirements.txt').open() as reqs:
return [req.strip() for req in reqs if not req.startswith(("#", "--", "-r")) and req.strip()]

setup(
name="djangorestframework-camel-case",
version=djangorestframework_camel_case.__version__,
Expand All @@ -30,8 +35,8 @@
packages=["djangorestframework_camel_case"],
package_dir={"djangorestframework_camel_case": "djangorestframework_camel_case"},
include_package_data=True,
python_requires=">=3.5",
install_requires=[],
python_requires=">=3.6",
install_requires=extract_requires(),
license="BSD",
zip_safe=False,
keywords="djangorestframework_camel_case",
Expand Down

0 comments on commit af1218d

Please sign in to comment.