Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 88d7425

Browse files
committed
fix: dependencies for distro
1 parent 00340af commit 88d7425

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ coverage:
5151
open htmlcov/index.html
5252

5353
release: clean
54+
@echo "make sure the github dependencies are updated to their respective pypi packets in setup.py"
5455
python setup.py sdist upload
5556
python setup.py bdist_wheel upload
5657

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pysha3
44
pytest
55
pytest-timeout
66
repoze.lru
7-
rlp>=0.3.7
7+
https://github.com/ethereum/pyrlp/tarball/develop
88
structlog>=15.0.0
99
pyethash
1010
coveralls

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ def run_tests(self):
2626

2727
cmdclass = dict(test=PyTest)
2828

29-
install_requires = [x.strip() for x in open('requirements.txt')]
29+
install_requires = set(x.strip() for x in open('requirements.txt'))
30+
31+
install_requires_replacements = {
32+
'https://github.com/ethereum/pyrlp/tarball/develop': 'rlp>=0.3.7'}
33+
install_requires = [install_requires_replacements.get(r, r) for r in install_requires]
3034

3135
setup(name="ethereum",
3236
packages=find_packages("."),

0 commit comments

Comments
 (0)