Naming conventions for python packages

Marco Atzeri marco.atzeri@gmail.com
Mon Apr 6 15:14:01 GMT 2020


Am 06.04.2020 um 16:35 schrieb Åke Rehnman via Cygwin:
> Hello all,
> 
> Sorry if this question is covered somewhere else...  I did try googling...
> 
> What are the naming conventions for python packages ?
> 
> python2-libftdi1-1.4-1
> 
> or
> 
> python27-libftdi1-1.4-1
> 
> or just
> 
> python-libftdi1-1.4-1
> 
> Same for python 3:
> 
> python3-libftdi1-1.4-1
> 
> or
> 
> python3.6-libftdi1-1.4-1
> 
> 
> BR
> 
> /Ake
> 

I suggest

python27-libftdi1-1.4-1
python36-libftdi1-1.4-1

assumimg your library is dependent from the shared lib
of the same python package:


$ cygcheck -l python36 | grep dll
/usr/bin/libpython3.6m.dll
....


  $ cygcheck -l python27 | grep dll
/usr/bin/libpython2.7.dll
...




More information about the Cygwin mailing list