Git repository pointers and configurations to build Python packages from source https://pypi.franco.net.eu.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

59 lines
1.6 KiB

#!/usr/bin/env make
#
# Makefile
#
# Copyright (C) 2021-2022 Franco Masotti (franco \D\o\T masotti {-A-T-} tutanota \D\o\T com)
#
# This file is part of python-packages-source.
#
# python-packages-source is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# python-packages-source is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with python-packages-source. If not, see <http://www.gnu.org/licenses/>.
#
default: install-dev submodules-update submodules-add-gitea
stats:
cd scripts; pipenv run python3 -m collect_data
plot:
cd scripts; pipenv run python3 -m plot_data $(OUTPUT)
submodules-add:
cd scripts; ./add_submodules.sh $(SUBMODULES)
submodules-add-gitea:
cd scripts; pipenv run python3 -m add_submodules_gitea
submodules-update:
cd scripts; ./update_submodules.sh
install:
pipenv install
install-dev:
pipenv install --dev
pipenv run pre-commit install
pipenv graph
pipenv check
uninstall-dev:
rm -f Pipfile.lock
pipenv --rm
update: install-dev
pipenv run pre-commit autoupdate
clean:
rm -rf build dist *.egg-info
.PHONY: default stats plot submodules-add submodules-add-gitea submodules-update install-dev uninstall-dev update clean