Skip to content

setup.py for sdist - #240

Merged
ax3l merged 1 commit into
openPMD:devfrom
ax3l:topic-setupPy
Oct 4, 2018
Merged

ax3l merged 1 commit into
openPMD:devfrom
ax3l:topic-setupPy

Conversation

@ax3l

@ax3l ax3l commented Jun 11, 2018 •

Copy link
Copy Markdown
Member

Developed a setup.py for python-level install from source (actually compiling!).

I am not sure it it does more harm than good to expose this to the user or if I should hide a perfectly tailored, PyPI distribution building only, setup.py deep in the source tree. Or I just keep this not as a documented (aka recommended) install method.

I will keep this here for now for documentation purposes.

Done:

  • sdist

Intentionally skipepd:

  • bdist_wheel: fully static, non-MPI
    • linux: manylinux2010 PEP571
    • win: mingw (no std::future support as of 7.0) -> VC 2015? PEP?
    • osx: apple clang? PEP?

@ax3l ax3l mentioned this pull request Jun 11, 2018
@ax3l
ax3l force-pushed the topic-setupPy branch 3 times, most recently from 8135502 to 81033ba Compare June 11, 2018 14:40
@ax3l
ax3l force-pushed the topic-setupPy branch 13 times, most recently from b375922 to 0e0934a Compare September 25, 2018 17:31
@ax3l ax3l mentioned this pull request Sep 25, 2018
2 of 7 tasks
Comment thread setup.py Outdated
'Topic :: Scientific/Engineering',
'Topic :: Database :: Front-Ends',
'Programming Language :: C++',
'Programming Language :: Python',

@ax3l ax3l Oct 3, 2018 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this line probably needs to go to make sure it's really just matching Python 3 on PyPI and a pip2 install openpmd-api can fail early.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

uh, it's python_requires for setuptools on PyPI.
(ref)

@ax3l
ax3l force-pushed the topic-setupPy branch 5 times, most recently from cff44ae to ac83915 Compare October 4, 2018 06:29
@ax3l ax3l changed the title [WIP] setup.py setup.py for sdist Oct 4, 2018
@ax3l
ax3l requested a review from anokfireball October 4, 2018 06:32
@ax3l ax3l added the continuous deployment automated shipping label Oct 4, 2018
I am not sure it it does more harm than good to expose this to the
user or if I should hide a perfectly tailored, `PyPI` distribution
building only one deep in the source tree.
@ax3l
ax3l merged commit 421db0c into openPMD:dev Oct 4, 2018
@ax3l
ax3l deleted the topic-setupPy branch October 4, 2018 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants