On Thu, Jul 9, 2020 at 8:38 AM Nico Van Cleemput <[email protected]> wrote: > > Thanks. I had been googling again yesterday, but still hadn't found any > concrete examples, so I had started reading the full documentation of > packaging for Python. This example will help me focus that effort a lot.
the relevant entries in setuptools.setup() are entry_points=... and package_data=... HTH Dima > > Cheers > Nico > > Op do 9 jul. 2020 om 09:33 schreef Markus Wageringel > <[email protected]>: >> >> One example is https://github.com/mwageringel/fgb_sage, which is a small >> wrapper for an external C binary and which uses sage_sample as a template. >> The relevant part is the setup.py file, which downloads the external files >> and makes them available for compiling the Cython code. It does not use pipx >> (which I do not know about), but is implemented in a somewhat ad-hoc >> fashion, so probably this is not the optimal way to achieve this but could >> be streamlined a bit. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/33bca7b6-33d9-4ae2-a734-e809ec5f120co%40googlegroups.com. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CADXCEk9uuXEPwg69a4--U1SEMOE01VgvG%2ByAF-5X-iD6Vtz94Q%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq3hN8Y-LUE0hLYY%3DYGVAFE2P4hbtHgTp%3DwC7iaoDmHhJA%40mail.gmail.com.
