Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
heatingma committed Aug 1, 2023
1 parent 5b3d383 commit 3b7115e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@
from setuptools import find_packages, setup
from setuptools.command.sdist import sdist as _sdist
from setuptools.command.install import install as _install
try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel, get_platform, get_abi_tag, tags
except ModuleNotFoundError:
os.system("pip install wheel")
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel, get_platform, get_abi_tag, tags
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel, get_platform, get_abi_tag, tags


def get_property(prop, project):
result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open(project + '/__init__.py').read())
Expand Down

0 comments on commit 3b7115e

Please sign in to comment.