Skip to content

Commit dd47250

Browse files
committed
fix: Test build debug
1 parent 4be3565 commit dd47250

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def get_version():
1111
return pyproject["project"]["version"]
1212

1313
VERSION = get_version()
14+
PACKAGE_NAME = "c2pa-python" # Define package name as a constant
1415

1516
# Define platform to library extension mapping (for reference only)
1617
PLATFORM_EXTENSIONS = {
@@ -155,7 +156,7 @@ def find_available_platforms():
155156
if not available_platforms:
156157
print("No platform-specific libraries found. Building wheel without platform-specific libraries.")
157158
setup(
158-
name="c2pa-python",
159+
name=PACKAGE_NAME,
159160
version=VERSION,
160161
package_dir={"": "src"},
161162
packages=find_namespace_packages(where="src"),
@@ -184,7 +185,7 @@ def find_available_platforms():
184185

185186
# Build the wheel
186187
setup(
187-
name="c2pa-python",
188+
name=PACKAGE_NAME,
188189
version=VERSION,
189190
package_dir={"": "src"},
190191
packages=find_namespace_packages(where="src"),
@@ -209,7 +210,7 @@ def find_available_platforms():
209210

210211
# For sdist and development installation
211212
setup(
212-
name="c2pa-python",
213+
name=PACKAGE_NAME,
213214
version=VERSION,
214215
package_dir={"": "src"},
215216
packages=find_namespace_packages(where="src"),

0 commit comments

Comments
 (0)