Skip to content

Commit

Permalink
Merge pull request #79 from benjaoming/release1.1
Browse files Browse the repository at this point in the history
Simplify requirements structure
  • Loading branch information
benjaoming authored Jul 29, 2018
2 parents b85729f + 53a79a1 commit 3d9ecdc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion django_nyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_disable_notifications = False

__version__ = "1.1b2"
__version__ = "1.1"

default_app_config = "django_nyt.apps.DjangoNytConfig"

Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

13 changes: 3 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import os
from setuptools import find_packages
from setuptools import setup

from django_nyt import __version__
from setuptools import find_packages, setup


def get_path(fname):
return os.path.join(os.path.dirname(os.path.abspath(__file__)), fname)

def read(fname):
return open(get_path(fname)).read()


packages = find_packages()
Expand All @@ -24,7 +17,7 @@ def read(fname):
keywords=["django", "notification" "alerts"],
packages=find_packages(),
zip_safe=False,
install_requires=read('requirements.txt').split("\n"),
install_requires=["django>=1.11,<2.1"],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
Expand Down
1 change: 0 additions & 1 deletion test-project/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
-r ../requirements.txt
channels

0 comments on commit 3d9ecdc

Please sign in to comment.