Commit 7103e777 authored by Louis's avatar Louis

Suppression du MANIFEST.in (qui est maintenant écrasé par le Makefile)

parent 97f1a155
Pipeline #63812 failed with stage
in 38 seconds
include AUTHORS COPYING NEWS README.md
exclude MANIFEST.in
# Documentation
graft Doc/source
include Doc/Makefile
......@@ -55,7 +55,7 @@ setup := $(PYTHON) setup.py
### MACROS
#
# Remove manifest file, egg-info dir and target build dir, clean-up sources.
# Remove egg-info dir and target build dir, clean-up sources.
clean = rm -rf *.egg-info && rm -rf $(BUILDIR) &&\
find . -name '*~' | xargs rm -f && find . -iname '*.pyc' | xargs rm -f
......@@ -102,10 +102,12 @@ version:
# Apply target version ($(VERSION)) to sources
$(sed-i) "s/VERSION\s*=\s*'.*'/VERSION = '$(VERSION)'/" pyromaths/version.py
src: version
MANIFEST.in:
echo "$(MANIFEST)" > MANIFEST.in
src: MANIFEST.in version
# Make full-source archive(s) (formats=$(FORMATS))
$(clean)
echo "$(MANIFEST)" > MANIFEST.in
$(setup) sdist --formats=$(FORMATS) -d $(DIST) $(OUT)
pypi: wheel src
......@@ -114,10 +116,9 @@ pypi: wheel src
@echo "# To upload to Pypi, run:"
@echo twine upload -s dist/pyromaths-VERSION.whl dist/pyromaths-VERSION.tar.gz
wheel: version
wheel: MANIFEST.in version
# Make python wheel
$(clean)
echo "$(MANIFEST)" > MANIFEST.in
$(setup) bdist_wheel -d $(DIST) $(OUT)
rpm: version
......
......@@ -2,6 +2,8 @@
Lancer :
# Création du fichier MANIFEST.in
make MANIFEST.in
# Paquet sources
python setup.py sdist
# Paquet wheel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment