Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ansys/api/acp/VERSION

This file was deleted.

5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
long_description = f.read()

with open(os.path.join(HERE, "ansys", "api", "acp", "VERSION"), encoding="utf-8") as f:
with open(os.path.join(HERE, "src", "ansys", "api", "acp", "VERSION"), encoding="utf-8") as f:
version = f.read().strip()

package_name = "ansys-api-acp"
Expand All @@ -32,7 +32,8 @@
license="MIT",
python_requires=">=3.7",
install_requires=["grpcio~=1.17", "protobuf~=3.19"],
packages=setuptools.find_namespace_packages(".", include=("ansys.*",)),
package_dir = {"": "src"},
packages=setuptools.find_namespace_packages("src", include=("ansys.*",)),
package_data={
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],
},
Expand Down
1 change: 1 addition & 0 deletions src/ansys/api/acp/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0.dev0
Copy link
Member Author

@greschd greschd Jun 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, I just "normalized" the version; pip (or setuptools?) was already doing this when installing, but warning about the change.
Also moved the file, but the change is why git doesn't recognize the rename.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.