Skip to content

Commit

Permalink
specify requirements in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Jackson committed Sep 20, 2022
1 parent 002a3e6 commit 9c13778
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hazenlib/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.2'
__version__ = '1.0.3'
20 changes: 12 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
import setuptools
import os

__version__ = '1.0.2'
__version__ = '1.0.3'

lib_folder = os.path.dirname(os.path.realpath(__file__))
requirement_path = lib_folder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirement_path):
with open(requirement_path) as f:
install_requires = f.read().splitlines()
install_requires = ['pydicom==2.2.2',
'numpy==1.21.4',
'matplotlib==3.5.1',
'docopt==0.6.2',
'opencv-python-headless==4.6.0.66',
'scikit-image==0.19.2',
'scipy==1.8.0',
'imutils==0.5.3',
'colorlog==6.6.0',]

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

setuptools.setup(
name="hazen",
name="test_hazen",
version=__version__,
url="https://bitbucket.org/gsttmri/hazen",
author="Shuaib, Haris",
author_email="[email protected]",
description="An automatic MRI QA tool",
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=install_requires,
setup_requires=install_requires,
packages=setuptools.find_packages(),
classifiers=[
Expand Down

0 comments on commit 9c13778

Please sign in to comment.