Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move ansys/dpf/core in src/ directory #662

Merged
merged 11 commits into from
Dec 13, 2022
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
exclude = venv, ansys/dpf/core/operators
exclude = venv, src/ansys/dpf/core/operators
select = W191, W391, E115, E117, E122, E124, E125, E301, W291, W293, E225, E231, E303, E501, F401, F403
per-file-ignores = __init__.py:F401,F403
count = True
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
with:
MODULE: ${{env.MODULE}}
PACKAGE_NAME: ${{env.PACKAGE_NAME}}
working-directory: src
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ coverage:
- "docs" # ignore folder and all its contents
- "docker" # ignore folder and all its contents
- "tests" # ignore folder and all its contents
- "ansys/dpf/core/operators" # ignore folder and all its contents
- "src/ansys/dpf/core/operators" # ignore folder and all its contents
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
# Get version from version info
filepath = os.path.dirname(__file__)
__version__ = None
version_file = os.path.join(filepath, "ansys", "dpf", "core", "_version.py")
version_file = os.path.join(filepath, "src", "ansys", "dpf", "core", "_version.py")
with io_open(version_file, mode="r") as fd:
exec(fd.read()) # execute file from raw string

readme_file = os.path.join(filepath, "README.md")

setup(
name="ansys-dpf-core",
package_dir={"": "src"},
packages=[
"ansys.dpf.core",
"ansys.dpf.core.examples",
Expand Down
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.
Loading