-
Notifications
You must be signed in to change notification settings - Fork 83
/
setup.py
64 lines (57 loc) · 1.65 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
extras_require = {
'test': [
"pytest==3.10.1",
"pytest-xdist==1.26.0",
],
'lint': [
"flake8==3.5.0",
"mypy==0.641",
"mypy-extensions>=0.4.1",
],
'dev': [
"bumpversion>=0.5.3,<1",
"twine",
],
}
extras_require['dev'] = (
extras_require['dev'] +
extras_require['test'] +
extras_require['lint']
)
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='py_ecc',
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='3.0.0',
description='Elliptic curve crypto in python including secp256k1 and alt_bn128',
long_description=readme,
long_description_content_type='text/markdown',
author='Vitalik Buterin',
author_email='',
url='https://github.com/ethereum/py_ecc',
license="MIT",
packages=find_packages(exclude=('tests', 'docs')),
package_data={'py_ecc': ['py.typed']},
install_requires=[
"eth-typing>=2.1.0,<3.0.0",
"eth-utils>=1.3.0,<2",
"mypy-extensions>=0.4.1",
],
python_requires='>=3.5, <4',
extras_require=extras_require,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
],
)