forked from ethereum/pyethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (47 loc) · 1.85 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
# requirements
install_requires = set(x.strip() for x in open('requirements.txt'))
install_requires_replacements = {
'https://github.com/ethereum/ethash/tarball/master': 'pyethash',
'https://github.com/ethereum/serpent/tarball/develop': 'ethereum-serpent',
'https://github.com/ethereum/viper/tarball/master': 'viper'
}
install_requires = [
install_requires_replacements.get(
r, r) for r in install_requires]
# dev requirements
tests_require = set(x.strip() for x in open('dev_requirements.txt'))
# dependency links
dependency_links = []
dependency_links.append('http://github.com/ethereum/serpent/tarball/develop#egg=ethereum-serpent-9.99.9')
viper_ref = '12847483f571505cef72fcb725e6557db15bce29' # 2017-09-12
dependency_links.append('http://github.com/ethereum/viper/tarball/master/%s#egg=viper-9.99.9' % viper_ref)
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
# see:
# https://github.com/ethereum/pyethapp/wiki/Development:-Versions-and-Releases
version = '2.0.4'
setup(
name="ethereum",
packages=find_packages("."),
description='Next generation cryptocurrency network',
long_description=readme,
url='https://github.com/ethereum/pyethereum/',
install_requires=install_requires,
tests_require=tests_require,
dependency_links=dependency_links,
setup_requires=[
# 'pytest-runner==2.7'
],
version=version,
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)