feat(build): initialize build configuration
This commit is contained in:
parent
d13a599803
commit
f65c319c18
4 changed files with 2576 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -5,3 +5,7 @@
|
|||
/src/**/*.pyc
|
||||
/src/**/__pycache/
|
||||
/.venv/
|
||||
/autom4te.cache/
|
||||
/config.log
|
||||
/config.status
|
||||
/configure~
|
||||
|
|
|
|||
5
Makefile
5
Makefile
|
|
@ -1,7 +1,10 @@
|
|||
.PHONY: requirements.txt requirements-dev.txt
|
||||
.PHONY: requirements.txt requirements-dev.txt configure
|
||||
|
||||
requirements.txt:
|
||||
.venv/bin/pipenv requirements > requirements.txt
|
||||
|
||||
requirements-dev.txt:
|
||||
.venv/bin/pipenv requirements --dev-only > requirements-dev.txt
|
||||
|
||||
configure:
|
||||
autoconf
|
||||
|
|
|
|||
19
configure.ac
Normal file
19
configure.ac
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
AC_INIT
|
||||
|
||||
AC_CHECK_PROGS([GIT], [git])
|
||||
AC_CHECK_PROGS([PYTHON3], [python3])
|
||||
|
||||
AC_MSG_NOTICE([initializing Git submodules...])
|
||||
git submodule update --init --remote --recursive
|
||||
|
||||
AC_MSG_NOTICE([initializing python3 venv...])
|
||||
python3 -m venv .venv
|
||||
|
||||
AC_MSG_NOTICE([installing dependencies...])
|
||||
.venv/bin/pip install requirements.txt
|
||||
|
||||
# install dev dependencies seperately, for clarity
|
||||
AC_MSG_NOTICE([installing dev dependencies...])
|
||||
.venv/bin/pip install requirements-dev.txt
|
||||
|
||||
AC_OUTPUT
|
||||
Loading…
Add table
Add a link
Reference in a new issue