Skip to content

Commit b2a6143

Browse files
committed
[setup] Harmonize with wt-tools; move demos to *_ng scripts
1 parent cef4c20 commit b2a6143

7 files changed

+28
-378
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,6 @@ cython_debug/
141141

142142
.idea/
143143
/blk.iml
144+
145+
# setuptools_scm version
146+
src/blk/_version.py

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = [
3-
"setuptools >= 40.6.2",
4-
"wheel >= 0.30.0",
5-
]
2+
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
63
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]
6+
write_to = "src/blk/_version.py"

requirements.txt

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
click==7.1.2
2-
construct==2.9.44
3-
lark==0.11.3
4-
# multiprocessing-logging==0.3.1
5-
https://github.com/jruere/multiprocessing-logging/archive/refs/tags/v0.3.1.tar.gz
6-
zstandard==0.15.1 --install-option="--legacy"
1+
-e .

setup.cfg

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[metadata]
2+
name = blk
3+
author = kotiq
4+
author_email = [email protected]
5+
url = https://github.com/kotiq/blk
6+
7+
[options]
8+
python_requires = >= 3.7
9+
package_dir=
10+
=src
11+
packages=find:
12+
13+
install_requires =
14+
construct==2.9.44
15+
zstandard==0.15.1
16+
17+
[options.packages.find]
18+
where=src

setup.py

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
setup(
4-
name='blk',
5-
author='kotiq',
6-
author_email='[email protected]',
7-
url='https://github.com/kotiq/blk',
8-
package_dir={'': 'src'},
9-
packages=find_packages(where='src'),
10-
python_requires='>=3.7',
11-
)
3+
setup()

tests/demo/blk_unpack_demo.py

-167
This file was deleted.

0 commit comments

Comments
 (0)