Skip to content

Commit

Permalink
build: update project configuration, specify exclusion of non-package…
Browse files Browse the repository at this point in the history
… directories when using `find_packages`
  • Loading branch information
laurent-laporte-pro committed Sep 28, 2023
1 parent 1de508e commit 236a2d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from setuptools import setup, find_packages

excluded_dirs = {"alembic", "conf", "docs", "examples", "resources", "scripts", "tests", "venv", "webapp"}

setup(
name="AntaREST",
version="2.15.0",
Expand All @@ -11,7 +13,7 @@
author="RTE, Antares Web Team",
author_email="[email protected]",
url="https://github.com/AntaresSimulatorTeam/api-iso-antares",
packages=find_packages(),
packages=find_packages(exclude=excluded_dirs),
license="Apache Software License",
platforms=[
"linux-x86_64",
Expand Down

0 comments on commit 236a2d7

Please sign in to comment.