Skip to content

Commit

Permalink
Merge pull request #320 from PSSF23/trust_in_you
Browse files Browse the repository at this point in the history
Remove requirements redundancy and include package versions
  • Loading branch information
levinwil authored Oct 17, 2020
2 parents 95387b8 + c678477 commit f663fef
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
from setuptools import setup, find_packages
import os

requirements = [
"keras",
"tensorflow ",
"scikit-learn",
"numpy",
"joblib",
]

# Find mgc version.
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
for line in open(os.path.join(PROJECT_PATH, "proglearn", "__init__.py")):
Expand All @@ -18,6 +10,9 @@
with open("README.md", mode="r", encoding = "utf8") as f:
LONG_DESCRIPTION = f.read()

with open("requirements.txt", mode="r", encoding = "utf8") as f:
REQUIREMENTS = f.read()

setup(
name="proglearn",
version=VERSION,
Expand All @@ -38,7 +33,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
],
install_requires=requirements,
install_requires=REQUIREMENTS,
packages=find_packages(exclude=["tests", "tests.*", "tests/*"]),
include_package_data=True
)

0 comments on commit f663fef

Please sign in to comment.