File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
1
+ # define files/directories that won't be exported in an sdist
2
+ # Keep in sync with MANIFEST.in
3
+ .circleci / export-ignore
4
+ .github / export-ignore
5
+ buildconfig /ci / export-ignore
6
+ buildconfig /macdependencies / export-ignore
7
+ buildconfig /manylinux-build / export-ignore
8
+
9
+ .editorconfig export-ignore
10
+ .gitattributes export-ignore
11
+ .gitignore export-ignore
12
+ .pre-commit-config.yaml export-ignore
Original file line number Diff line number Diff line change @@ -60,15 +60,14 @@ jobs:
60
60
# https://github.com/orgs/community/discussions/47863
61
61
run : |
62
62
sudo apt-get update --fix-missing
63
- sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev python3-setuptools python3- dev
63
+ sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev python3-dev
64
64
pip3 install --upgrade pip
65
- pip3 install sphinx"<7.2.0" numpy>=1.21.0
65
+ pip3 install build numpy>=1.21.0
66
66
67
67
- name : Make sdist and install it
68
68
run : |
69
- python3 buildconfig/make_docs.py
70
- python3 setup.py sdist
71
- pip3 install dist/pygame-*.tar.gz -vv
69
+ python3 -m build --sdist --outdir dist .
70
+ pip3 install dist/pygame_ce-*.tar.gz -vv
72
71
73
72
- name : Run tests
74
73
env :
Original file line number Diff line number Diff line change @@ -717,6 +717,9 @@ def initialize_options(self):
717
717
# we do not want MANIFEST.in to appear in the root cluttering up things.
718
718
self .template = os .path .join ('buildconfig' , 'MANIFEST.in' )
719
719
720
+ print ("WARNING: This command is deprecated and will be removed in the future." )
721
+ print ("Use the alternative: `python3 -m build --sdist --outdir dist .`" )
722
+
720
723
721
724
if "bdist_msi" in sys .argv :
722
725
# if you are making an msi, we want it to overwrite files
You can’t perform that action at this time.
0 commit comments