Browse Source

make default

Basti Tee 3 years ago
parent
commit
47af1e67a3
4 changed files with 14 additions and 14 deletions
  1. 1 1
      .github/workflows/main.yml
  2. 4 7
      Makefile
  3. 8 5
      README.md
  4. 1 1
      setup.py

+ 1 - 1
.github/workflows/main.yml

@@ -17,4 +17,4 @@ jobs:
             - name: CI checks
               run: |
                   python3 -m pip install pipenv
-                  make all
+                  make

+ 4 - 7
Makefile

@@ -18,10 +18,11 @@ PYTHONPATH=.
 LC_ALL=C.UTF-8
 LANG=C.UTF-8
 
-venv:
+all: clean venv build
+
+venv: clean
 	# Initialize virtualenv, i.e., install required packages etc.
-	pip3 install pipenv --upgrade
-	pipenv --three install --dev --skip-lock
+	pipenv --three install --dev
 
 shell:
 	# Initialize virtualenv and open a new shell using it
@@ -67,7 +68,3 @@ publish: build
 run:
 	# Execute my_module directly
 	pipenv run python -m my_module
-
-all: clean venv build
-
-.PHONY: all

+ 8 - 5
README.md

@@ -19,7 +19,7 @@
 
 - Basic project/module organization according to <https://packaging.python.org>
 - [Makefile](Makefile) management script
-- [pipenv](https://github.com/pypa/pipenv) & virtual environments
+- [pipenv](https://github.com/pypa/pipenv) and virtual environments
 - [distutils](https://docs.python.org/3/library/distutils.html)-based installer script
 - Unit testing with [pytest](https://docs.pytest.org/en/latest/)
 - Multicore/-interpreter testing with [tox](https://tox.readthedocs.io/en/latest/)
@@ -42,7 +42,10 @@
 
 ## Future ideas and todos
 
-- [ ] `.PHONY` doesn't really work yet. Seems like `make venv` is exiting with 1
-- [ ] Optional static typing for Python 2 and 3 (PEP 484) <https://github.com/python/mypy>
-- [ ] Reflect current state of Python multi-threading
-- [ ] Make sure tox is working as expected for supported Python versions
+- Optional static typing for Python 2 and 3 (PEP 484) <https://github.com/python/mypy>
+- Reflect current state of Python multi-threading
+- Make sure tox is working as expected for supported Python versions
+
+## Licensing
+
+This project is licensed under [Apache License 2.0](LICENSE.txt).

+ 1 - 1
setup.py

@@ -14,7 +14,7 @@ with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'),
 setup(
     # Basic project information
     name='python3-boilerplate',
-    version='0.0.2',
+    version='0.0.3',
     # Authorship and online reference
     author='Basti Tee',
     author_email='basti.tee@posteo.de',