PCP2024 / PCPuppies

MIT License
0 stars 0 forks source link

fill requirements.txt #5

Closed BorjaEst closed 5 months ago

BorjaEst commented 5 months ago

The library uses numpy for example, but requirements.txt is empty. I would recommend you to fill it.

See this example: https://github.com/BorjaEst/ndautomata/blob/main/requirements.txt

The "~=" says approx. I recommend always to use that instead of "==". When versioning you have the following meaning: "a.b.c" a -> Mayor version b -> Minor version c -> Patch version

Mayor and Minor versions (different numbers) may change the interfaces of functions and break your code. "~=" says to use the highst available version for the last digit:

If you say "numpy~=1.2.0" it will install 1.2.3 if 3 is the highest patch version value. If you say "numpy~=1.2" it will install 1.4.5 if 4 is the highest minor version value (and generally you do not wont this).

BorjaEst commented 5 months ago

by the way!!! Fill your version file, for example with "0.1.0".