Skip to content

Commit

Permalink
Fixed dependency issues
Browse files Browse the repository at this point in the history
Dependencies are now only required to be in requirements.txt
  • Loading branch information
Murat Ursavas committed Mar 30, 2023
1 parent b1b780d commit da47af2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests==2.28.1
requests>=2.28.1
retry==0.9.2
base58==2.1.1
protobuf==4.21.12
Expand Down
21 changes: 12 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
from setuptools import setup, find_packages
from os.path import join, dirname
import os

# allow setup.py to be run from any path
here = os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))
os.chdir(here)

requires = [
line.strip()
for line in open(os.path.join(here, "requirements.txt"), "r").readlines()
]

setup(
name='hm_pyhelper',
version='0.14.0',
author="Nebra Ltd",
author_email="[email protected]",
description="Helium Python Helper",
long_description=open(join(dirname(__file__), 'README.md')).read(),
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
long_description_content_type="text/markdown",
url="https://github.com/NebraLtd/hm-pyhelper",
install_requires=[
'requests>=2.28.1',
'retry==0.9.2',
'base58==2.1.1',
'protobuf==4.21.12',
'packaging>=22.0'
],
install_requires=requires,
project_urls={
"Bug Tracker": "https://github.com/NebraLtd/hm-pyhelper/issues",
},
Expand Down

0 comments on commit da47af2

Please sign in to comment.