Skip to content

Commit

Permalink
defer trying to handle header install .. cmake is semi handling it al…
Browse files Browse the repository at this point in the history
…ready
  • Loading branch information
gmarzot committed Jan 9, 2025
1 parent eacfa5e commit 9a02f2a
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions folly/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
if ldpath := os.environ.get('LD_LIBRARY_PATH'):
ldpaths = ldpath.split(':')
library_dirs[:0] = ldpaths
# make sure folly library path is included
if folly_lib and folly_lib not in ldpaths:
print(f'export LD_LIBRARY_PATH="{folly_lib}:{ldpath}"\n')
else:
Expand Down Expand Up @@ -134,21 +135,9 @@
setup(
name='folly',
zip_safe=False,
version='0.1.1',
version='0.0.1',
packages=['folly'],
setup_requires=['cython'],
headers=[
'folly/AsyncioExecutor.h',
'folly/ProactorExecutor.h',
'folly/coro.h',
'folly/futures.h',
'folly/async_generator.h',
'folly/executor_intf.h',
'folly/iobuf_intf.h',
'folly/iobuf_ext.h',
'folly/error.h',
'folly/import.h',
],
package_data={'': ['*.pxd', '*.pyi', '__init__.py', '*_api.h']},
ext_modules=cythonize(
exts,
Expand Down

0 comments on commit 9a02f2a

Please sign in to comment.