Skip to content

Commit 0c7a5aa

Browse files
committed
chore: exclude more files in sdist build
1 parent 5fee0a1 commit 0c7a5aa

File tree

5 files changed

+14
-72
lines changed

5 files changed

+14
-72
lines changed
File renamed without changes.

hydrogram/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class StopPropagation(StopAsyncIteration):
3535
class ContinuePropagation(StopAsyncIteration):
3636
pass
3737

38+
3839
crypto_executor = ThreadPoolExecutor(1, thread_name_prefix="CryptoWorker")
3940

4041
# ruff: noqa: E402

pyproject.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,20 @@ docs = [
7272
[tool.hatch.metadata]
7373
allow-direct-references = true
7474

75-
[tool.hatch.build]
75+
[tool.hatch.build.targets.sdist]
7676
exclude = [
77-
"tests",
77+
".github/",
78+
"docs/",
79+
"news/",
80+
"tests/",
81+
".editorconfig",
82+
".gitignore",
83+
".pre-commit-config.yaml",
84+
"CODE_OF_CONDUCT.rst",
85+
"CONTRIBUTING.rst",
86+
"NEWS.rst",
7887
"requirements.lock",
7988
"requirements-dev.lock",
80-
".github",
81-
".gitignore",
8289
]
8390

8491
[tool.hatch.build.targets.wheel]

requirements-dev.lock

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,22 @@
44
# last locked with the following flags:
55
# pre: false
66
# features: []
7-
# all-features: true
7+
# all-features: false
88

99
-e file:.
10-
alabaster==0.7.13
11-
babel==2.13.1
12-
beautifulsoup4==4.12.2
1310
certifi==2023.7.22
1411
cffi==1.16.0
1512
charset-normalizer==3.3.2
16-
click==8.1.7
17-
colorama==0.4.6
1813
coverage==7.3.2
1914
cryptography==41.0.5
2015
docutils==0.20.1
21-
furo==2023.9.10
2216
idna==3.4
23-
imagesize==1.4.1
2417
importlib-metadata==6.8.0
25-
incremental==22.10.0
2618
iniconfig==2.0.0
2719
jaraco-classes==3.3.0
2820
jeepney==0.8.0
29-
jinja2==3.1.2
3021
keyring==24.2.0
31-
livereload==2.6.3
3222
markdown-it-py==3.0.0
33-
markupsafe==2.1.3
3423
mdurl==0.1.2
3524
more-itertools==10.1.0
3625
nh3==0.2.14
@@ -51,24 +40,6 @@ rfc3986==2.0.0
5140
rich==13.6.0
5241
ruff==0.1.3
5342
secretstorage==3.3.3
54-
six==1.16.0
55-
snowballstemmer==2.2.0
56-
soupsieve==2.5
57-
sphinx==7.2.6
58-
sphinx-autobuild==2021.3.14
59-
sphinx-basic-ng==1.0.0b2
60-
sphinx-copybutton==0.5.2
61-
sphinxcontrib-applehelp==1.0.7
62-
sphinxcontrib-devhelp==1.0.5
63-
sphinxcontrib-htmlhelp==2.0.4
64-
sphinxcontrib-jsmath==1.0.1
65-
sphinxcontrib-qthelp==1.0.6
66-
sphinxcontrib-serializinghtml==1.1.9
67-
sphinxcontrib-towncrier==0.3.2a0
68-
tornado==6.3.3
69-
towncrier==23.10.0
7043
twine==4.0.2
7144
urllib3==2.0.7
7245
zipp==3.17.0
73-
# The following packages are considered to be unsafe in a requirements file:
74-
setuptools==68.2.2

requirements.lock

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,8 @@
44
# last locked with the following flags:
55
# pre: false
66
# features: []
7-
# all-features: true
7+
# all-features: false
88

99
-e file:.
10-
alabaster==0.7.13
11-
babel==2.13.1
12-
beautifulsoup4==4.12.2
13-
certifi==2023.7.22
14-
charset-normalizer==3.3.2
15-
click==8.1.7
16-
colorama==0.4.6
17-
docutils==0.20.1
18-
furo==2023.9.10
19-
idna==3.4
20-
imagesize==1.4.1
21-
incremental==22.10.0
22-
jinja2==3.1.2
23-
livereload==2.6.3
24-
markupsafe==2.1.3
25-
packaging==23.2
2610
pyaes==1.6.1
27-
pygments==2.16.1
2811
pysocks==1.7.1
29-
requests==2.31.0
30-
six==1.16.0
31-
snowballstemmer==2.2.0
32-
soupsieve==2.5
33-
sphinx==7.2.6
34-
sphinx-autobuild==2021.3.14
35-
sphinx-basic-ng==1.0.0b2
36-
sphinx-copybutton==0.5.2
37-
sphinxcontrib-applehelp==1.0.7
38-
sphinxcontrib-devhelp==1.0.5
39-
sphinxcontrib-htmlhelp==2.0.4
40-
sphinxcontrib-jsmath==1.0.1
41-
sphinxcontrib-qthelp==1.0.6
42-
sphinxcontrib-serializinghtml==1.1.9
43-
sphinxcontrib-towncrier==0.3.2a0
44-
tornado==6.3.3
45-
towncrier==23.10.0
46-
urllib3==2.0.7
47-
# The following packages are considered to be unsafe in a requirements file:
48-
setuptools==68.2.2

0 commit comments

Comments
 (0)