Title: Mac OS X setup.py possible fix · Issue #3 · fancycode/python-libevent · GitHub
Open Graph Title: Mac OS X setup.py possible fix · Issue #3 · fancycode/python-libevent
X Title: Mac OS X setup.py possible fix · Issue #3 · fancycode/python-libevent
Description: On Mac OS X I could not get setup.py to work until changing it as follows. I didn't have the confidence to post this as a pull request, as I haven't tested these on other systems than my own (Darwin Kernel Version 16.6.0: Fri Apr 14 16:2...
Open Graph Description: On Mac OS X I could not get setup.py to work until changing it as follows. I didn't have the confidence to post this as a pull request, as I haven't tested these on other systems than my own (Darwi...
X Description: On Mac OS X I could not get setup.py to work until changing it as follows. I didn't have the confidence to post this as a pull request, as I haven't tested these on other systems than my ow...
Opengraph URL: https://github.com/fancycode/python-libevent/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mac OS X setup.py possible fix","articleBody":"On Mac OS X I could not get setup.py to work until changing it as follows.\r\n\r\nI didn't have the confidence to post this as a pull request, as I haven't tested these on other systems than my own (Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64), and fear these changes may have broken the library in some way. So I'm putting this as an issue, as something to try on a Mac OS X system.\r\n\r\n if os.name == 'posix':\r\n \r\n libpath = '.libs'\r\n if os.uname()[0] == 'Darwin':\r\n libpath = 'lib'\r\n \r\n # When installed with brew, the libraries are in for example:\r\n # /usr/local/Cellar/libevent/2.1.8/lib (note: NOT .libs)\r\n else:\r\n # Also no rt library available on Mac OS X\r\n \r\n # enable thread support\r\n libraries.append('rt')\r\n \r\n extra_link_args.extend([\r\n os.path.join(LIBEVENT_ROOT, libpath, 'libevent.a'),\r\n os.path.join(LIBEVENT_ROOT, libpath, 'libevent_pthreads.a'),\r\n ])\r\n libraries.append('pthread')\r\n","author":{"url":"https://github.com/Bemmu","@type":"Person","name":"Bemmu"},"datePublished":"2017-08-22T05:43:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/python-libevent/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f986ecb5-dd72-f4d1-2d81-19f5b88d0288 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E992:134DE9:1C1CCD4:2723664:6970E215 |
| html-safe-nonce | 144a38ae1d390bb1afac00d26f60226f218331e534b2f8b593570dee4f576bc8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTkyOjEzNERFOToxQzFDQ0Q0OjI3MjM2NjQ6Njk3MEUyMTUiLCJ2aXNpdG9yX2lkIjoiNjczMDY0Nzk2MjkwOTcyOTMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 929918a947e6cf4b3f16538344ea8a54c57f5f26cef61ca9d74578df3b083d9f |
| hovercard-subject-tag | issue:251843989 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fancycode/python-libevent/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f354717fb08171c4c42673a26b9b293c3c6fcf91a6e01990e2c29d67b847aec1/fancycode/python-libevent/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f354717fb08171c4c42673a26b9b293c3c6fcf91a6e01990e2c29d67b847aec1/fancycode/python-libevent/issues/3 |
| og:image:alt | On Mac OS X I could not get setup.py to work until changing it as follows. I didn't have the confidence to post this as a pull request, as I haven't tested these on other systems than my own (Darwi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bemmu |
| hostname | github.com |
| expected-hostname | github.com |
| None | a8b3a33ad16bd33428ccc7800d4ea7bfc6b4990584847afdcb92b020b61a949b |
| turbo-cache-control | no-preview |
| go-import | github.com/fancycode/python-libevent git https://github.com/fancycode/python-libevent.git |
| octolytics-dimension-user_id | 247730 |
| octolytics-dimension-user_login | fancycode |
| octolytics-dimension-repository_id | 1125962 |
| octolytics-dimension-repository_nwo | fancycode/python-libevent |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1125962 |
| octolytics-dimension-repository_network_root_nwo | fancycode/python-libevent |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b8a8c883a585a3dc6cb57fa8b7997b70c86a696c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width