Skip to content

Commit

Permalink
fix: grpcio dep (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue authored May 31, 2024
1 parent 6804fc9 commit 0fd229e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
product = "dbu"
library = ""
package_info = ["ansys", "api", product, library, "v0"]
with open(os.path.join(HERE, "ansys", "api", product, library, "VERSION"), encoding="utf-8") as f:
with open(
os.path.join(HERE, "ansys", "api", product, library, "VERSION"), encoding="utf-8"
) as f:
version = f.read().strip()

package_name = "ansys-api-dbu"
dot_package_name = '.'.join(filter(None, package_info))
dot_package_name = ".".join(filter(None, package_info))

description = f"Autogenerated Python gRPC interface package for {package_name}, built on {datetime.now().strftime('%H:%M:%S on %d %B %Y')}"

Expand All @@ -28,16 +30,16 @@
name=package_name,
version=version,
author="ANSYS, Inc.",
author_email='pyansys.core@ansys.com',
author_email="pyansys.core@ansys.com",
maintainer="ANSYS, Inc.",
maintainer_email='pyansys.core@ansys.com',
maintainer_email="pyansys.core@ansys.com",
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
long_description_content_type="text/markdown",
url=f"https://github.com/ansys/{package_name}",
license="MIT",
python_requires=">=3.7",
install_requires=["grpcio~=1.47", "protobuf>=3.19,<6"],
install_requires=["grpcio~=1.44", "protobuf>=3.19,<6"],
packages=setuptools.find_namespace_packages(".", include=("ansys.*",)),
package_data={
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],
Expand All @@ -49,8 +51,8 @@
},
cmdclass=CMDCLASS_OVERRIDE,
project_urls={
'Documentation': 'https://github.com/ansys/ansys-api-dbu/#readme',
'Source': 'https://github.com/ansys/ansys-api-dbu/',
'Tracker': 'https://github.com/ansys/ansys-api-dbu/issues/',
"Documentation": "https://github.com/ansys/ansys-api-dbu/#readme",
"Source": "https://github.com/ansys/ansys-api-dbu/",
"Tracker": "https://github.com/ansys/ansys-api-dbu/issues/",
},
)

0 comments on commit 0fd229e

Please sign in to comment.