Skip to content

Commit

Permalink
chore: Make sure to mark builds as platform specific
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Mar 22, 2024
1 parent e9ef3ca commit ae453fc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# type: ignore

import glob
import os
import platform
Expand Down Expand Up @@ -283,7 +285,7 @@ def initialize_options(self):

def finalize_options(self):
develop.finalize_options(self)
if NO_TS:
if NO_TS or PY_ONLY:
self.root_is_pure = False

def run(self):
Expand All @@ -307,7 +309,7 @@ def initialize_options(self):

def finalize_options(self):
install.finalize_options(self)
if NO_TS:
if NO_TS or PY_ONLY:
self.root_is_pure = False

def run(self):
Expand All @@ -331,7 +333,7 @@ def initialize_options(self):

def finalize_options(self):
bdist_wheel.finalize_options(self)
if NO_TS:
if NO_TS or PY_ONLY:
self.root_is_pure = False

def run(self):
Expand All @@ -354,7 +356,7 @@ def initialize_options(self):

def finalize_options(self):
editable_wheel.finalize_options(self)
if NO_TS:
if NO_TS or PY_ONLY:
self.root_is_pure = False

def run(self):
Expand Down

0 comments on commit ae453fc

Please sign in to comment.