Skip to content

Commit

Permalink
Adopt src code layout
Browse files Browse the repository at this point in the history
Fixes: #551
  • Loading branch information
ssbarnea committed Sep 2, 2021
1 parent a69f52b commit 82a4cce
Show file tree
Hide file tree
Showing 93 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"--implicit-namespaces",
"--private", # include “_private” modules
]
apidoc_module_dir = "../ansible_navigator"
apidoc_module_dir = "../src/ansible_navigator"
apidoc_module_first = False
apidoc_output_dir = "pkg"
apidoc_separate_modules = True
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ classifiers =
Programming Language :: Python :: Implementation :: PyPy

[options]
package_dir =
= src
packages = find:
install_requires =
ansible-runner >=2,<3
Expand All @@ -46,6 +48,7 @@ console_scripts =
ansible-navigator=ansible_navigator.cli:main

[options.packages.find]
where = src
exclude =
tests*
testing*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ allowlist_externals = ansible-playbook
[testenv:type]
description = Verify static typing with MyPy under {basepython} ({envpython})
commands =
mypy --txt-report ./{[base]mypy_tmp_dir} ./{[base]pkg_name} ./tests ./share
mypy --txt-report ./{[base]mypy_tmp_dir} ./src/{[base]pkg_name} ./tests ./share

[testenv:build-docs]
allowlist_externals =
Expand Down

0 comments on commit 82a4cce

Please sign in to comment.