Commit 392603e1 authored by Louis's avatar Louis

Le MANIFEST.in est maintenant (à nouveau) dans le dépôt (et non plus construit...

Le MANIFEST.in est maintenant (à nouveau) dans le dépôt (et non plus construit à la volée par le Makefile)

Sans cela, il était *obligatoire* d'utiliser le makefile pour créer le
paquet wheel ; c'est maintenant optionnel.

This reverts commit 7103e777.
parent 7103e777
Pipeline #63819 passed with stage
in 41 seconds
include AUTHORS COPYING NEWS README.md
exclude MANIFEST.in
# Données
graft pyromaths/data
# Documentation
graft Doc/source
include Doc/Makefile
......@@ -26,14 +26,6 @@ APP := $(DIST)/Pyromaths.app/Contents
# Project files
FILES := AUTHORS COPYING NEWS pyromaths README setup.py MANIFEST.in
### MANIFESTS
#
# Base manifest (README, src/ and test/ auto-included):
MANIFEST := \
include AUTHORS COPYING NEWS \n\
exclude MANIFEST.in \n\
graft pyromaths/data \n\
### SHORTCUTS & COMPATIBILITY
#
ifeq ($(OS),Windows_NT)
......@@ -102,10 +94,7 @@ version:
# Apply target version ($(VERSION)) to sources
$(sed-i) "s/VERSION\s*=\s*'.*'/VERSION = '$(VERSION)'/" pyromaths/version.py
MANIFEST.in:
echo "$(MANIFEST)" > MANIFEST.in
src: MANIFEST.in version
src: version
# Make full-source archive(s) (formats=$(FORMATS))
$(clean)
$(setup) sdist --formats=$(FORMATS) -d $(DIST) $(OUT)
......@@ -116,7 +105,7 @@ pypi: wheel src
@echo "# To upload to Pypi, run:"
@echo twine upload -s dist/pyromaths-VERSION.whl dist/pyromaths-VERSION.tar.gz
wheel: MANIFEST.in version
wheel: version
# Make python wheel
$(clean)
$(setup) bdist_wheel -d $(DIST) $(OUT)
......
......@@ -2,8 +2,6 @@
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