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

gmpy2 #876

Merged
merged 5 commits into from
Jul 2, 2016
Merged

gmpy2 #876

merged 5 commits into from
Jul 2, 2016

Conversation

isuruf
Copy link
Member

@isuruf isuruf commented Jun 25, 2016

@jakirkham @asmeurer, let me know if you want to be added as maintainers.

Depends on conda-forge/mpc-feedstock#3

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/gmpy2) and found it was in an excellent condition.

- vc14 # [win and py35]
script:
- python setup.py install --shared=$PREFIX # [unix]
- python setup.py install --shared=%LIBRARY_PREFIX% # [win]
Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a jinja variable to unify these two commands into one?

Copy link
Member

Choose a reason for hiding this comment

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

Not really.

@isuruf
Copy link
Member Author

isuruf commented Jun 30, 2016

Can somebody restart the appveyor build?

@jakirkham
Copy link
Member

I'm guessing a restart is no longer necessary. Correct?

@isuruf isuruf changed the title [WIP] gmpy2 gmpy2 Jun 30, 2016
@isuruf
Copy link
Member Author

isuruf commented Jun 30, 2016

Ready for review. Let's wait until travis issues are fixed for merge.

@isuruf isuruf closed this Jun 30, 2016
@isuruf isuruf reopened this Jun 30, 2016
- vc14 # [win and py35]
script:
- python setup.py install --shared=$PREFIX # [unix]
- python setup.py build_ext -f --shared=%LIBRARY_PREFIX% -DMSC_USE_DLL=1 install # [win]
Copy link
Member

Choose a reason for hiding this comment

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

More for my curiosity than anything else. What does MSC_USE_DLL do?

Copy link
Member Author

Choose a reason for hiding this comment

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

For Windows, when using a function from a dll you have to explicitly mark it __declspec(dllimport) in the header. This macro would turn on that feature. Otherwise it defaults to nothing, which means that the library implementing the function should be linked statically.

Copy link
Member

Choose a reason for hiding this comment

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

So, is this handled by gmpy2 directly, by Python, or is it passed through to the compiler?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's passed to the compiler by distutils

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for explaining this.


extra:
recipe-maintainers:
- isuruf
Copy link
Member

Choose a reason for hiding this comment

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

This can be done here or in the feedstock. Feel free to add @asmeurer as he has explicitly stated he would be interested in helping maintain sympy dependencies and this is one IIRC.

I'm ok with being here. Though I may not be as active just FYI.

@jakirkham
Copy link
Member

LGTM. Thanks @isuruf.

@jakirkham jakirkham merged commit f299db9 into conda-forge:master Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants