-
Notifications
You must be signed in to change notification settings - Fork 50
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
Create wheel and publish on PyPi #41
Comments
I think it would be wonderful if I haven't had much experience with versioning of projects and so what is the issue with that arises with just specifying an issue within the setup.py rather than trying to make it dynamic? |
First thing is that I learned that Travis doesn't store build artifacts, so they would have to be uploaded to elsewhere at the time of build. I am personally used to build systems storing artifacts from every single build and then separately handling any release process (such as to PyPi). It's nice to be able to bisect for issues without having to build every copy. I would much rather work in Linux but because of the above issue (and my simplistic needs for now) I went ahead and setup a build on AppVeyor for my fork. Since I had already done similar for a couple other builds the Versioning in the To be clear, the v1.1.0 formal release numbers are still manual. You pick a Git commit, you apply the version number as a tag, then you rebuild that commit (or it detects the tag and builds automatically). You retain full control over what gets those numbers and what the numbers are. TL;DR |
Until sunspec/pysunspec#41 is resolved.
Hello, is there any plans to publish this package on pypi? We are using it in a project and it would make things a lot easier if we could pull from pypi. |
Note that there is a new repository and a new ticket for it as well. sunspec/pysunspec2#13 Anyways, I give in. Here we are. https://pypi.org/project/pysunspec/ I do still need to follow up on another release since I don't think pysunspec v1.0.8 actually worked with py3 so I need to find at least that rev. Plus I'll have to toss in my own additional rev with #61 since that never got merged. |
great, thank you. Will need to review our devices and make sure we are using the correct package. |
Alrighty, so I also need to revisit what models are included in each release since they weren't made a separate package. They also weren't always a sub-module so I'll have to go pick some model version to use for those releases. |
I think I got the models with the vX.Y.Z.1 releases. Also put out an updated copy of my fork as v2.1.0. For anyone thinking this is all around a not-great thing to do... I agree. But, 1) it has been years and 2) I can share or transfer access and 3) the distribution name should really be |
@shelcrow, I was going to add you as a maintainer on these projects so you could upload new releases. I decided I ought to do at least some minimal identity check beyond the email from address. |
@altendky sheldon_sunspec Thanks |
SunSpec has decided that they do not want me to have any access to the PyPI projects. I have very little interest in dealing with their focus on control over progress. I will be giving them ownership and expect to be immediately and permanently removed from both projects. We'll see if they bother to make the libraries easier to use with releases on PyPI. |
SunSpec is simply trying to correct the issue raised multiple times of github releases making it to PyPI in a standard way. This has nothing to do with any specific person and is just SunSpec trying own its product and take responsibility to correct a longstanding problem. |
I gave Sheldon rights to upload and expressed that my hope was to hand over control to SunSpec after proof that users wouldn't be left without PyPI releases for an extended period. The follow up emails continued to push that SunSpec must have complete control. |
I suspect that many users of this library will not be interested in Git and submodules etc. At least, those that want to distribute would find it a bit smoother if there were a wheel. There are always nuances but building a wheel is pretty much just
venv/bin/python setup.py bdist_wheel
.I'll try to get a PR for this. We've already got Travis going and I think this is pure Python so we should be able to build a universal wheel there. Probably also use https://github.com/habnabit/vcversioner (I've used it for my own project).
The text was updated successfully, but these errors were encountered: