texfig icon indicating copy to clipboard operation
texfig copied to clipboard

make available as a pip module

Open Abe404 opened this issue 2 years ago • 2 comments
trafficstars

This would make downloading/installing and version management a bit simpler. Let me know if you would like a hand :)

Abe404 avatar Mar 15 '23 13:03 Abe404

This repo is mostly some sample code that people can copy and edit, not sure how useful it would be as a pip package. If you have suggestions for a feature set of a texfig package then let me know :)

nilsvu avatar Mar 15 '23 15:03 nilsvu

In my case, installing dependencies for my project (which uses texfig) requires using pip for other modules i.e pip install -r requirements.txt, but for texfig I have a shell script cloning and unziping the texfig repo, which I then use as a module.

wget https://github.com/Abe404/texfig/archive/master.zip 
unzip master.zip
mv texfig-master/texfig.py ./
rm -r master.zip 

The idea here is that texfig isn't part of my code but a separate module maintained elsewhere and pulled in when required (like a pip module). My dependency management would be slightly easier/more elegant if texfig was just an extra line in my requirements file.

Having a pip module would not necessarily mean alterations to texfig, but could simplify dependency management for me but if most users are just copy-pasting the code then perhaps there are less reasons to make this into a module.

Abe404 avatar Mar 15 '23 17:03 Abe404