forked from ethereum/eth-keyfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
78 lines (71 loc) · 2.01 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
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 = {
'keyfile': [
"eth-utils>=2,<3",
"eth-keys>=0.4.0,<0.5.0",
"pycryptodome>=3.6.6,<4",
],
'test': [
"pytest>=6.2.5,<7",
],
'lint': [
"flake8==4.0.1",
],
'dev': [
"bumpversion>=0.5.3,<1",
"wheel",
"setuptools>=36.2.0",
"pluggy>=1.0.0,<2",
# Fixing this dependency due to: requests 2.20.1 has requirement idna<2.8,>=2.5, but you'll have idna 2.8 which is incompatible.
"idna==2.7",
# idna 2.7 is not supported by requests 2.18
"requests>=2.20,<3",
"tox>=2.7.0",
"twine",
],
}
deps['dev'] = (
deps['keyfile'] +
deps['dev'] +
deps['test'] +
deps['lint']
)
install_requires = deps['keyfile']
setup(
name='eth-keyfile',
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='0.6.0',
description=(
"A library for handling the encrypted keyfiles used to store ethereum "
"private keys."
),
long_description_markdown_filename='README.md',
author='Piper Merriam',
author_email='pipermerriam@gmail.com',
url='https://github.com/ethereum/eth-keyfile',
include_package_data=True,
install_requires=install_requires,
extras_require=deps,
setup_requires=['setuptools-markdown'],
py_modules=['eth_keyfile'],
license="MIT",
zip_safe=False,
keywords='ethereum',
packages=find_packages(exclude=["tests", "tests.*"]),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)