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

Integration with distutils/setuptools #40

Merged
merged 32 commits into from Mar 10, 2013
Merged

Integration with distutils/setuptools #40

merged 32 commits into from Mar 10, 2013

Conversation

matysek
Copy link
Member

@matysek matysek commented Feb 27, 2013

This change set include:

  • finished distutils/setuptools
  • fixed running pyinstaller on Windows from path with foreign characters
  • fix regressions where python library was not bundled on debian/ubuntu
  • recompile linux bootloaders
  • some file reorganization

@@ -0,0 +1,93 @@
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this file is called __main__? Why not simply use main.py? There is no __main__ convention I know of.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use just main.


if __name__ == '__main__':
from PyInstaller.cliutils.build import run
run()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's getting too much complicated here. We now have like 4 jumps before getting to the actual code. Can we please simplify all these wrappers?

@matysek
Copy link
Member Author

matysek commented Mar 6, 2013

I fixed the following things based on feedback from this pull request:

  • rename main to just main
  • remove some author names and some classifiers from setup.py
  • split description lines in setup.py
  • and simplified wrapper scripts in ./utils
  • pyinstaller will use GetShortPathName only when HOMEPATH contains unicode characters

I think it should be now ok to merge this request.

Hartmut, I'm not sure how to fix setup.py sdist. Could you please take care of it?

@htgoebel
Copy link
Member

htgoebel commented Mar 6, 2013

Yes, I can do work on sdist after the request is merged.

@matysek
Copy link
Member Author

matysek commented Mar 7, 2013

Could anyone please merge it if there are no other objections?

matysek added a commit that referenced this pull request Mar 10, 2013
Integration with distutils/setuptools
@matysek matysek merged commit 120c898 into pyinstaller:develop Mar 10, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants