This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 4
4
- TOX_ENV=py27
5
5
6
6
install :
7
- - pip install tox coveralls
8
7
- pip install -r requirements.txt
8
+ - pip install -r dev_requirements.txt
9
9
10
10
script :
11
11
- coverage run --source ethereum setup.py test
Original file line number Diff line number Diff line change
1
+ tox
2
+ coveralls
3
+ pytest
4
+ pytest-timeout
5
+ https://github.com/ethereum/serpent/tarball/develop
Original file line number Diff line number Diff line change 1
1
bitcoin
2
2
pysha3
3
- pytest
4
- pytest-timeout
5
3
repoze.lru
6
4
structlog >= 15.0.0
7
- coveralls
8
5
https://github.com/ethereum/pyrlp/tarball/develop
9
- https://github.com/ethereum/serpent/tarball/develop
10
6
https://github.com/ethereum/ethash/tarball/master
Original file line number Diff line number Diff line change @@ -29,21 +29,27 @@ def run_tests(self):
29
29
30
30
cmdclass = dict (test = PyTest )
31
31
32
+ # requirements
32
33
install_requires = set (x .strip () for x in open ('requirements.txt' ))
33
-
34
34
install_requires_replacements = {
35
35
'https://github.com/ethereum/pyrlp/tarball/develop' : 'rlp>=0.3.7' ,
36
- 'https://github.com/ethereum/serpent/tarball/develop' : 'ethereum-serpent>=1.8.1' ,
37
36
'https://github.com/ethereum/ethash/tarball/master' : 'pyethash' }
38
-
39
37
install_requires = [install_requires_replacements .get (r , r ) for r in install_requires ]
40
38
39
+ # dev requirements
40
+ tests_require = set (x .strip () for x in open ('dev_requirements.txt' ))
41
+ tests_require_replacements = {
42
+ 'https://github.com/ethereum/serpent/tarball/develop' : 'ethereum-serpent>=1.8.1' }
43
+ tests_require = [tests_require_replacements .get (r , r ) for r in tests_require ]
44
+
45
+
41
46
setup (name = "ethereum" ,
42
47
packages = find_packages ("." ),
43
48
description = 'Next generation cryptocurrency network' ,
44
49
long_description = readme ,
45
50
url = 'https://github.com/ethereum/pyethereum/' ,
46
51
install_requires = install_requires ,
52
+ tests_require = tests_require ,
47
53
entry_points = dict (console_scripts = console_scripts ),
48
54
version = '0.9.64' ,
49
55
cmdclass = cmdclass
Original file line number Diff line number Diff line change 9
9
commands = coverage run --source =pyethereum setup.py test
10
10
deps =
11
11
-r{toxinidir}/requirements.txt
12
+ -r{toxinidir}/dev_requirements.txt
You can’t perform that action at this time.
0 commit comments