mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-28 06:32:32 +02:00
* Added an 'AR_PYTHON_MODULE()' autoconf macro. * Added a test for the PyPI module build chain to 'configure.ac'. * Bumped the minimum Python version dependency from 3.4 to 3.6. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
## Makefile.am
|
|
##
|
|
## Automake.am for Python binding for the Rivendell Web API
|
|
##
|
|
## (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU Lesser General Public License as
|
|
## published by the Free Software Foundation; either version 2 of
|
|
## the License, or (at your option) any later version.
|
|
##
|
|
## This program 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 Lesser General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU Lesser General Public
|
|
## License along with this program; if not, write to the Free Software
|
|
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
##
|
|
## Use automake to process this into a Makefile.in
|
|
|
|
SUBDIRS = api\
|
|
tests
|
|
|
|
all: @PYPI@
|
|
|
|
pypi:
|
|
rm -rf pypi
|
|
../../helpers/build_pypi_package.sh rivwebpyapi
|
|
cp pypi/dist/* .
|
|
cp pypi/src/rivwebpyapi.egg-info/* .
|
|
rm -rf pypi
|
|
|
|
post-pypi:
|
|
python3 -m twine upload --repository testpypi *.tar.gz *.whl
|
|
|
|
EXTRA_DIST = pyproject.toml\
|
|
setup.cfg.in
|
|
|
|
CLEANFILES = *~\
|
|
*.idb\
|
|
*ilk\
|
|
*.obj\
|
|
*.pdb\
|
|
*.qm\
|
|
*.tar.gz\
|
|
*.whl\
|
|
PKG-INFO\
|
|
SOURCES.txt\
|
|
dependency_links.txt\
|
|
moc_*\
|
|
not-zip-safe\
|
|
requires.txt\
|
|
top_level.txt
|
|
|
|
DISTCLEANFILES = setup.cfg
|
|
|
|
MAINTAINERCLEANFILES = *~\
|
|
*.tar.gz\
|
|
aclocal.m4\
|
|
configure\
|
|
Makefile.in\
|
|
moc_*
|