This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ # ############# version ##################
2
+ from pkg_resources import get_distribution , DistributionNotFound
3
+ import os .path
4
+ try :
5
+ _dist = get_distribution ('ethereum' )
6
+ # Normalize case for Windows systems
7
+ dist_loc = os .path .normcase (_dist .location )
8
+ here = os .path .normcase (__file__ )
9
+ if not here .startswith (os .path .join (dist_loc , 'ethereum' )):
10
+ # not installed, but there is another version that *is*
11
+ raise DistributionNotFound
12
+ except DistributionNotFound :
13
+ __version__ = 'Please install this project with setup.py'
14
+ else :
15
+ __version__ = _dist .version
16
+ # ########### endversion ##################
17
+
1
18
'''from ethereum import utils
2
19
from ethereum import trie
3
20
from ethereum import securetrie
4
21
from ethereum import blocks
5
22
from ethereum import transactions
6
23
from ethereum import processblock
7
- from ethereum import chainmanager
8
24
from ethereum import tester
9
25
from ethereum import abi
10
26
from ethereum import ethash'''
Original file line number Diff line number Diff line change @@ -41,6 +41,6 @@ def run_tests(self):
41
41
url = 'https://github.com/ethereum/pyethereum/' ,
42
42
install_requires = install_requires ,
43
43
entry_points = dict (console_scripts = console_scripts ),
44
- version = '0.9.61 ' ,
44
+ version = '0.9.62 ' ,
45
45
cmdclass = cmdclass
46
46
)
You can’t perform that action at this time.
0 commit comments