5 Commits 14bb73f032 ... bda89a2bb0

Autor SHA1 Mensaje Fecha
  rsiddharth bda89a2bb0 lpschedule_generator: bump to version 0.10.2 hace 4 años
  rsiddharth db6b2a9c66 Makefile: Refactor PHONY declarations. hace 4 años
  rsiddharth af107a9d29 Makefile: venv: cleanup .eggs/ too hace 4 años
  rsiddharth da7c4365ce Makefile: Rename build-dist -> build. hace 4 años
  rsiddharth 1482b9e333 Makefile: Remove egg. hace 4 años
Se han modificado 2 ficheros con 11 adiciones y 13 borrados
  1. 10 12
      Makefile
  2. 1 1
      lpschedule_generator/_version.py

+ 10 - 12
Makefile

@@ -14,18 +14,15 @@ VENV_DIR=${VENV_PREFIX}/.lpschedule-generator
 
 test:
 	@nosetests
-
 .PHONY: test
 
 fmt:
 	black --include 'lps_gen.py|setup.py|tests/*.py|lpschedule_generator/*.py' .
 .PHONY: fmt
 
-build-dist:
+build:
 	@python setup.py sdist bdist_wheel
-
-egg:
-	@python setup.py egg_info
+.PHONY: build
 
 upload:
 	@twine upload -r pypi -s --sign-with 'gpg2' \
@@ -34,20 +31,19 @@ upload:
 	@twine upload -r pypi -s --sign-with 'gpg2' \
 		-i '1534 126D 8C8E AD29 EDD9  1396 6BE9 3D8B F866 4377' \
 		dist/*.whl
-
-.PHONY: build-dist egg upload
+.PHONY: upload
 
 docs:
 	${GNU_MAKE} -C docs html
+.PHONY: docs
 
 upload-docs: docs
 	@rsync -avz --delete docs/_build/html/  $(LPSG_DOCS_HOST)
-
-.PHONY: docs upload-docs
+.PHONY: upload-docs
 
 
 venv:
-	rm -rf *.egg-info
+	rm -rf *.egg-info .eggs
 	${SHELL} -c 'if [[ -d $(VENV_DIR) ]] then mv $(VENV_DIR) $(VENV_DIR).`date +%s`; fi'
 	${VENV_CMD} --clear --python=python3 $(VENV_DIR)
 	@echo 'Initialized virtualenv, run' \
@@ -62,17 +58,19 @@ clean-build:
 	rm -rf build/
 	rm -rf dist/
 	rm -rf *.egg-info
+.PHONY: clean-build
 
 clean-pyc:
 	find . -name '*.pyc' -exec rm -f {} +
+.PHONY: clean-pyc
 
 clean-venv:
 	rm -rf ${VENV_DIR}*/
+.PHONY: clean-venv
 
 clean-docs:
 	${GNU_MAKE} -C docs clean
-
-.PHONY: clean-build clean-pyc clean-venv clean-docs
+.PHONY: clean-docs
 
 dev:
 	python setup.py develop

+ 1 - 1
lpschedule_generator/_version.py

@@ -5,4 +5,4 @@
 #   This file is part of lpschedule-generator.
 #
 
-__version__ = "0.10.1.dev1"
+__version__ = "0.10.2"