Open carloosamarante opened 4 years ago
hi @carloosamarante you can install sublist3r in pip using setup.py
file
$ sudo python setup.py install
sublist3r
module in your python scriptoh @knassar702 thanks for reply, i'll check. I was using like git submodule, but this way would be better :fist_oncoming:
I've drafted a package for openSUSE.
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-Sublist3r
I need a PyPI release to submit into openSUSE package collection, as they require the rpm package name is the same as the name reserved in PyPI, given Python has no other naming authority.
@aboul3la I would package Sublist3r into Fedora if you would do a PyPi release. Please consider doing it as I see the interest also from the openSUSE community.
@aboul3la Is there a plan to release the library to Python Package Index? I would like to do
pip install sublist3r
Rather than having the sublist3r.py file itself in the directory and using it using,
import sublist3r
@ogajduse +1 for your requirement 👍
@aboul3la Do you have any plans to add Sublist3r to pypi?
If you don't want the hassle of doing it I'd be happy to do it on your behalf, as would I'm sure many other members of the community.
Alternatively if you have some kind of ideological objection to pypi please let us know and close the ticket.
As my above comment has now gone 3 weeks without a reponse I've taken the liberty of making the necessary changes (submitted as a merge request) and uploading sublist3r as a package to pypi, available here.
To anyone else in the thread the package is now available through pip.
e.g. pip install Sublist3r
Note that PyPI v1.0 is going to be a problematic release, as there are already tags for 1.0 and 1.1 , so the next version available for a consistent PyPI version and GitHub tag is 1.2
.
There should be a few other packaging fixes added before cutting 1.2.
Happy to defer to you on any packaging fixes required, I'm not particularly well versed in packaging for PyPI to be honest, it just seemed crazy to me that it hadn't been done earlier given how straightforward it is and how much additional convenience it would provide for the userbase.
I'll be happy to add some packaging improvements once https://github.com/aboul3la/Sublist3r/pull/276 is merged.
Well done! Ping me once you do the packaging improvements. I will do the release as a RPM package for Fedora and Centos community.
Could you please, add sublist3r as a library on pip https://pypi.org/project/pip/?