-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (73 loc) · 2.05 KB
/
Copy pathsetup.py
File metadata and controls
78 lines (73 loc) · 2.05 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import (
setup,
find_packages,
)
deps = {
'coincurve': [
'coincurve>=7.0.0,<16.0.0',
],
'eth-keys': [
"eth-utils>=2.0.0,<3.0.0",
"eth-typing>=3.0.0,<4",
],
'test': [
"asn1tools>=0.146.2,<0.147",
"factory-boy>=3.0.1,<3.1",
"pyasn1>=0.4.5,<0.5",
"pytest==6.2.5",
"hypothesis>=5.10.3, <6.0.0",
"eth-hash[pysha3];implementation_name=='cpython'",
"eth-hash[pycryptodome];implementation_name=='pypy'",
],
'lint': [
'flake8==3.0.4',
'mypy==0.782',
],
'dev': [
'tox==3.20.0',
'bumpversion==0.5.3',
'twine',
],
}
deps['dev'] = (
deps['dev'] +
deps['eth-keys'] +
deps['lint'] +
deps['test']
)
with open('./README.md') as readme:
long_description = readme.read()
setup(
name='eth-keys',
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='0.4.0',
description="""Common API for Ethereum key operations.""",
long_description=long_description,
long_description_content_type='text/markdown',
author='Piper Merriam',
author_email='pipermerriam@gmail.com',
url='https://github.com/ethereum/eth-keys',
include_package_data=True,
install_requires=deps['eth-keys'],
py_modules=['eth_keys'],
extras_require=deps,
license="MIT",
zip_safe=False,
package_data={'eth_keys': ['py.typed']},
keywords='ethereum',
packages=find_packages(exclude=["tests", "tests.*"]),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)