Skip to content

Commit

Permalink
Merge pull request #1 from bhoman-ca/PDQ-14604-pip-tools-fix
Browse files Browse the repository at this point in the history
moved metadata information to separate file
  • Loading branch information
ramonsaraiva authored Dec 1, 2022
2 parents 9e4a67b + 0aac986 commit 03bafea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 1 addition & 5 deletions rest_framework_cache/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import pkg_resources


__author__ = 'Ervilis Souza'
__email__ = '[email protected]'
__version__ = '0.1'
from .meta import __author__, __email__, __version__


pkg_resources.declare_namespace(__name__)
3 changes: 3 additions & 0 deletions rest_framework_cache/meta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__author__ = 'Ervilis Souza'
__email__ = '[email protected]'
__version__ = '0.1.1'
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
from setuptools import setup

import rest_framework_cache
from rest_framework_cache import meta


github_url = "https://github.com/ervilis/django-rest-framework-cache/"

setup(
name="rest-framework-cache",
version=rest_framework_cache.__version__,
author=rest_framework_cache.__author__,
author_email=rest_framework_cache.__email__,
version=meta.__version__,
author=meta.__author__,
author_email=meta.__email__,
description="Easy to use cache framework for django-rest-framwork apps",
license="GPLv3",
keywords="rest_framework_cache",
Expand Down

0 comments on commit 03bafea

Please sign in to comment.