question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build cross-platform pex containing doit due to file-watching dependencies

See original GitHub issue

I’m trying to use pex to create a cross-platform (Mac/Linux) executable containing doit, but unfortunately this is failing due to the extras_require dictionary in doit’s setup.py file that guards against installing either macfsevents or pyinotify based on the value of sys.platform. It seems that pex is not capable of processing the sys.platform environmental marker with respect to the various target platforms for the PEX being created (see the issue I opened on pex for more info: https://github.com/pantsbuild/pex/issues/455).

I think ideally pex would be capable of processing those environmental markers, but according to that issue it seems to be a difficult thing to support. As an alternative, do you have any thoughts about how we could change doit to support this use case?

One idea I had - I don’t actually need doit’s file watching functionality for my particular use case, and from #101 I understand this isn’t available on Windows despite doit otherwise supporting Windows. Could file watching be turned into an optional dependency for doit in setup.py?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
schettino72commented, Mar 24, 2018

@Kwpolska thanks. that was easy. now doit has wheel packages 😃

But I notice that pyinotify has no wheels. @kevincon doit wheel helps in any way?

0reactions
kevinconcommented, Mar 27, 2018

Sure thing, I’ll put up a PR to contribute my story when I get a little closer to completing the project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension packages & Licence Management in 2GP
Second-generation extension packages are created by adding dependencies on metadata found in other packages to a second-generation package, then ...
Read more >
schema export to different endianness - Oracle Communities
The dmp file is just a binary representation of a bunch of CREATE and INSERT statements which then get executed by the import....
Read more >
Apex Developer Guide - Salesforce Implementation guides
Follow a step-by-step tutorial to create an Apex class and trigger, and deploy them to a production organisation. IN THIS SECTION: Introducing ...
Read more >
Import Data with the Data Import Wizard - Salesforce Help
To import accounts, contacts, leads, solutions, person accounts, or articles, ... But if the wizard can't map fields, you must do it manually....
Read more >
GNAT User's Guide Supplement for Cross Platforms
2 Introduction to GNAT for Cross Platforms ... D.3.1 Building . ... linker, resulting in the application not being linked with the run-time...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found