mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-20 04:34:19 -04:00
Exclude built documentation from sdist
This commit is contained in:
parent
f4c1ece10a
commit
f8925eaed1
2 changed files with 11 additions and 5 deletions
14
Makefile
14
Makefile
|
@ -24,6 +24,12 @@ clean:
|
||||||
@make -C docs clean
|
@make -C docs clean
|
||||||
@echo Done
|
@echo Done
|
||||||
|
|
||||||
|
purge_docs:
|
||||||
|
@echo Purging documentation build...
|
||||||
|
@-rm -rf ./docs/manual
|
||||||
|
@-rm -rf ./docs/*.pdf
|
||||||
|
@-rm -rf ./docs/*.epub
|
||||||
|
|
||||||
remove_symlinks:
|
remove_symlinks:
|
||||||
@echo Removing symlinks for build...
|
@echo Removing symlinks for build...
|
||||||
-rm Examples/RNS
|
-rm Examples/RNS
|
||||||
|
@ -34,14 +40,14 @@ create_symlinks:
|
||||||
-ln -s ../RNS ./Examples/
|
-ln -s ../RNS ./Examples/
|
||||||
-ln -s ../../RNS ./RNS/Utilities/
|
-ln -s ../../RNS ./RNS/Utilities/
|
||||||
|
|
||||||
build_sdist_only:
|
build_sdist: purge_docs
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
|
|
||||||
build_wheel:
|
build_wheel:
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py bdist_wheel
|
||||||
|
|
||||||
build_pure_wheel:
|
build_pure_wheel:
|
||||||
python3 setup.py sdist bdist_wheel --pure
|
python3 setup.py bdist_wheel --pure
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
make -C docs html
|
make -C docs html
|
||||||
|
@ -49,7 +55,7 @@ documentation:
|
||||||
manual:
|
manual:
|
||||||
make -C docs latexpdf epub
|
make -C docs latexpdf epub
|
||||||
|
|
||||||
release: test remove_symlinks build_wheel build_pure_wheel documentation manual create_symlinks
|
release: test remove_symlinks build_sdist build_wheel build_pure_wheel documentation manual create_symlinks
|
||||||
|
|
||||||
debug: remove_symlinks build_wheel build_pure_wheel create_symlinks
|
debug: remove_symlinks build_wheel build_pure_wheel create_symlinks
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -21,7 +21,7 @@ else:
|
||||||
pkg_name = "rns"
|
pkg_name = "rns"
|
||||||
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5']
|
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5']
|
||||||
|
|
||||||
excluded_modules = exclude=["tests.*", "tests"]
|
excluded_modules = ["tests.*", "tests"]
|
||||||
packages = setuptools.find_packages(exclude=excluded_modules)
|
packages = setuptools.find_packages(exclude=excluded_modules)
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue