GithubHelp home page GithubHelp logo

iurisegtovich / pytherm_lib Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 145 KB

python library for packaging and reutilization of the contents of each lecture

Makefile 0.07% Python 8.94% Fortran 1.85% Jupyter Notebook 89.14%

pytherm_lib's Introduction

repo

This is a simple repo for the project

python -m pip install -e git+https://github.com/iurisegtovich/pytherm_lib.git@master#egg=pytherm_lib_iurisegtovich


  1. FOLLOWING TUTORIAL AT https://packaging.python.org/tutorials/packaging-projects/

  2. BUILD PACKAGE: python setup.py sdist bdist_wheel

  3. UPLOAD TEST: python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

  4. INSTALL: python -m pip install --index-url https://test.pypi.org/simple/ python-luri-iurisegtovich

  5. UPLOAD REAL: python -m twine upload dist/*

  6. INSTALL REAL: python -m pip install python-luri-iurisegtovich

  7. TEST: import python_luri

  8. a. UPLOAD NEW VERSION: Open setup.py and change the version number

  9. b. DELETE OLD VERSION INSIDE DIST* (BETTER TO DELETE ALL DIST RELATED FILES)

  10. c. REINSTALL (IGNORING PREVIOUS VERSIONS) python -m pip install -I --index-url https://test.pypi.org/simple/ python-luri-iurisegtovich

obs: O SETUP.PY É O ARQUIVO DE RECEITA PARA GERAR O RELEASE, ELE PEGA O README DAQUI POIS ISSO ESTÁ INSTRUÍDO ELE PEGA OS ARQUIVOS DE DENTRO DA PASTA DO PACKAGE (setuptools.find_packages()) ELE PARECE QUE NÃO PEGOU O LICENSE (COLOQUEI UMA LINHA EXTRA NO SETUP.PY PARA PEGAR)

acho que posso iniciar um git aqui e colocar esses comandos em um makefile e rodar um git clean para apagar os arquivos de build

  1. INSTALL FROM ZIP: python -m pip install -I dist/python_luri_iurisegtovich-0.0.3-py3-none-any.whl

  2. "INSTALL DEVELOPMENT VERSION": IN ANOTHER PROJECT DIRECTORY pip install --e git+http://repo/my_project.git#egg=SomeProject [https://pip.pypa.io/en/stable/reference/pip_install/] python -m pip install -e git+https://github.com/iurisegtovich/python_luri.git@master#egg=python_luri_iurisegtovich

install in a "src" dir under the dir from where pip was ran.

any changes in those src files are reflected on usage of the lib the lib can be imported from anywhere as if it was installed in site-packages (actually because the created src dir is added to the sys.path variable)

check with: "python -m pip list" uninstall with: python -m pip uninstall python_luri_iurisegtovich

pytherm_lib's People

Contributors

iurisegtovich avatar

Watchers

James Cloos avatar  avatar

pytherm_lib's Issues

m_vEoS H S

in current m_vEoS.py
H and S are only valid for PR76
not PR87 nor AAT

bublepy

o criterio de solução trivial no bubblepy tá matando os azeotropos, rsss

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.