Git Product home page Git Product logo

Comments (9)

IanLee1521 avatar IanLee1521 commented on August 25, 2024 1

from maestrowf.

IanLee1521 avatar IanLee1521 commented on August 25, 2024

Would you be willing to make me a POC for the project in PYPI?

Same username "IanLee1521"

from maestrowf.

FrankD412 avatar FrankD412 commented on August 25, 2024

I've added you as a maintainer, did it go through?

from maestrowf.

FrankD412 avatar FrankD412 commented on August 25, 2024

@IanLee1521 -- Alright looks like you are a maintainer. Is there an accepted way of formalizing release. It looks like tagging, and using something like this article?

http://www.dougalmatthews.com/2016/Sep/01/automate-publishing-to-pypi-with-pbr-and-travis/

Do you know if that's the most current accepted way?

from maestrowf.

IanLee1521 avatar IanLee1521 commented on August 25, 2024

That's a bit fancier than what I've done... It tends to be (for most projects):

  • Make a commit with the updated version string: git commit -am'Released version X.Y'
  • Tag that commit: git tag -m 'Released version X.Y' X.Y
  • Run build and release target, something like: python setup.py sdist bdist_wheel && twine upload dist/*

I tend to do something like have a Makefile target that does the right thing, at least for the building and pushing part (I prefer to do the first two steps manually).

from maestrowf.

FrankD412 avatar FrankD412 commented on August 25, 2024

Got it -- Might it be worthwhile exploring something fancier? It'd imagine that the CI integration will halt a release if it finds an issue.

from maestrowf.

IanLee1521 avatar IanLee1521 commented on August 25, 2024

I guess the question is "how often are you planning to do a release?" and what branches etc might you do that on?

Yes you could automate, but it might make sense to hold off until there is something to automate ;)

from maestrowf.

IanLee1521 avatar IanLee1521 commented on August 25, 2024

Also, I'm not positive how / if you could automate the pushing to PYPI... that might hold you up... (because you need to authenticate to the server).

from maestrowf.

FrankD412 avatar FrankD412 commented on August 25, 2024

Fair enough. I guess the better way to do this would be to just have a shell script (or maybe a make clause that takes a version?) that you give it the version and it automatically executes and then just lets you put in your password.

from maestrowf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.