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

Improved setup + platform independence #115

Closed
wants to merge 8 commits into from

Conversation

vidartf
Copy link
Contributor

@vidartf vidartf commented Aug 12, 2015

Fixes many smaller issues, and introduces changes that I hope should be straight-forward to accept.

MSVC does not support vasprintf. Replaced with all present functions.
If the flag is supplied, the Cython sources will be cleaned ('src'
directory will be removed). Defaults to off since we normally
want to keep them.
Older versions of MSVC (including Visual C++ for Python) does
not fully support C99. This change works around the problems
by preprocessor defines.
These changes make sure that all setup commands that use a compiler
accepts the compiler user option, and that the option is propagated
between commands.
These changes makes sure that any user options supplied by
`include-dirs`, `library-dirs` and `libraries` to `build_ext`
are propagated to `reflect`, and makes sure that `reflect`
accepts and uses them.
Conflicts:
	include/libavutil/avutil.pxd
@mikeboers
Copy link
Member

Thanks for what appears to be a considerable effort, and significant improvement to the build system!

I'm going to have to go commit-by-commit through this, since I see a few errors (not freeing a new pointer, using a log that doesn't exist, not accounting for ImportError on non-Windows, etc.), and I'm going to pass on the automatic PEP8 conformity pass.

Cheers!

@mikeboers
Copy link
Member

I went commit by commit cherry-picking and fixed a few things here and there (I was wrong about the log). All merged now.

Thanks again!

@mikeboers mikeboers closed this Aug 12, 2015
@vidartf vidartf deleted the ENH_setup branch August 13, 2015 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants