forked from ethereum/eth-keys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (61 loc) · 1.64 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
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import (
setup,
find_packages,
)
deps = {
'eth-keys': [
"eth-utils>=1.3.0,<2.0.0",
],
'test': [
'pytest==3.2.2',
'hypothesis==3.30.0',
"eth-hash[pysha3];implementation_name=='cpython'",
"eth-hash[pycryptodome];implementation_name=='pypy'",
],
'lint': [
'flake8==3.0.4',
'mypy<0.600',
],
'dev': [
'tox==2.7.0',
'bumpversion==0.5.3',
'twine',
],
}
deps['dev'] = (
deps['dev'] +
deps['eth-keys'] +
deps['lint'] +
deps['test']
)
setup(
name='eth-keys',
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='0.2.2',
description="""Common API for Ethereum key operations.""",
long_description_markdown_filename='README.md',
author='Piper Merriam',
author_email='[email protected]',
url='https://github.com/ethereum/eth-keys',
include_package_data=True,
setup_requires=['setuptools-markdown'],
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.5',
'Programming Language :: Python :: 3.6',
],
)