Skip to content

Commit

Permalink
Merge pull request #39 from pabloarosado/dev
Browse files Browse the repository at this point in the history
Fix issue with setup.py
  • Loading branch information
pabloarosado authored Mar 5, 2021
2 parents c27977a + 990c69c commit 9ef5ff2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modev/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
import modev.utils
import modev.templates
import modev.validation
__version__ = "0.3.0"
from modev._version import __version__
__author__ = "Pablo Rosado"
3 changes: 3 additions & 0 deletions modev/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pkg_resources
# Load version given in setup.py.
__version__ = pkg_resources.require("modev")[0].version
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import setuptools
import modev

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="modev",
version=modev.__version__,
author=modev.__author__,
version="0.3.1",
author="Pablo Rosado",
author_email="mail@pablorosado.com",
description="Model Development for Data Science Projects.",
keywords=["modev", "Data Science", "Machine Learning", "Modeling"],
Expand Down

0 comments on commit 9ef5ff2

Please sign in to comment.