Closed RemiLehe closed 6 years ago
@RemiLehe did you forget to add the actual setup.py
file?
Oops...
It's there now. Thanks for checking @ax3l !!
Thanks for adding the file! :) Looks good to me!
Hi all, I finally had some time for this and I think it should be working now. There were some issues before, like some files missing (icons, colormaps, etc.) because they were not included in the the package_data.
I've also completed a bit more the setup file and made some further changes in order to create a suitable package for PyPI. I assigned a version number 0.3.2 and it's now already available online, so you should be able to install it simply with pip install visualpic
.
Also, for the moment I decided to leave openpmd-viewer as optional, since the current available version in pip still has the Windows issues and stops the installation. Once the new version is uploaded I'll include it in the requirements file.
By the way, since I'm still not really a git expert... is it safe in this case to change the base branch of this PR from master to dev?
Thanks for all these improvements @AngelFP.
It's great that visualPIC is accessible from pypi
!
I just released a new version of openPMD-viewer - version 0.8.1 - (which includes the Windows fixes) and uploaded on pypi. Could you check that this works for you?
Also: yes, you can safely change the base branch to dev
. (In fact, I just did it.)
Thanks for checking the text @ax3l, I think it should be fine now. I've added back openpmd-viewer as a requirement and I have uploaded a new version of visualpic to pypi. So far everything seems to work well on my pc in windows and ubuntu.
Great, thanks! I suggest that this PR be merged then. Would that be fine with you @AngelFP ?
Yep, all fine! Thanks to both of you for your work :D
This PR adds a
setup.py
to VisualPIC. This allows in particular to launch visualPIC from any directory, by simply typingvisualPIC
in the command line.@AngelFP I tested this on linux, but could you give it a try on Windows? Thanks!