forked from ethereum/consensus-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 899 Bytes
/
setup.py
File metadata and controls
28 lines (26 loc) · 899 Bytes
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
from setuptools import find_packages, setup
# Minimal setup.py for package configuration.
# The spec generation logic has been moved to pysetup/generate_specs.py
# and is now called explicitly by the Makefile before package installation.
#
# To generate specs, run: make _pyspec
# Or directly: python -m pysetup.generate_specs --all-forks
setup(
include_package_data=False,
package_data={
"configs": ["*.yaml"],
"eth2spec": ["VERSION.txt"],
"presets": ["**/*.yaml", "**/*.json"],
"specs": ["**/*.md"],
"sync": ["optimistic.md"],
},
package_dir={
"configs": "configs",
"eth2spec": "tests/core/pyspec/eth2spec",
"presets": "presets",
"specs": "specs",
"sync": "sync",
},
packages=find_packages(where="tests/core/pyspec") + ["configs", "presets", "specs", "sync"],
py_modules=["eth2spec"],
)