Make use of setuptools.find_packages()
This commit is contained in:
parent
cc42fcdebe
commit
015a5cd08c
4
setup.py
4
setup.py
@ -2,10 +2,12 @@ import setuptools
|
||||
from sphinx.setup_command import BuildDoc
|
||||
|
||||
# ========== Constants ==========
|
||||
PACKAGES = ["rbackup", "rbackup.plugins", "rbackup.struct"]
|
||||
EXCLUDED_PACKAGES = ["test", "tests"]
|
||||
PACKAGES = setuptools.find_packages(exclude=EXCLUDED_PACKAGES)
|
||||
SCRIPTS = ["bin/backup"]
|
||||
CMDCLASS = {"build_sphinx": BuildDoc}
|
||||
|
||||
|
||||
# ========== Functions ==========
|
||||
with open("README.rst", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
Loading…
x
Reference in New Issue
Block a user