Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setup.py uninitialized variables issue #68

Merged
merged 3 commits into from
Mar 12, 2024
Merged
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
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#if not os.environ.has_key('PKG_CONFIG_PATH'):
# os.environ['PKG_CONFIG_PATH'] = '/usr/local/lib/pkgconfig'

libs = cflags = ''

# Find fuse compiler/linker flag via pkgconfig
if os.system('pkg-config --exists fuse 2> /dev/null') == 0:
pkgcfg = os.popen('pkg-config --cflags fuse')
Expand All @@ -49,7 +51,7 @@
pkgcfg.close()

else:
if os.system('pkg-config --help 2> /dev/null') == 0:
if os.system('pkg-config --help 2>&1 >/dev/null') == 0:
print("""pkg-config could not find fuse:
you might need to adjust PKG_CONFIG_PATH or your
FUSE installation is very old (older than 2.1-pre1)""")
Expand Down Expand Up @@ -89,7 +91,8 @@ def setup(**kwargs):
if "classifiers" in kwargs:
del kwargs["classifiers"]
_setup(**kwargs)
setup (name = 'fuse-python',

setup(name='fuse-python',
version = __version__,
description = 'Bindings for FUSE',
long_description = """This is a Python interface to libfuse (https://github.com/libfuse/libfuse),
Expand Down
Loading