On Thu, Jun 29, 2023 at 11:01 AM Aram Dermenjian <aram.dermenjian.m...@gmail.com> wrote: > > Hi all, > > Question for humans. I used to have a project/package for sagemath about 3 > years ago that got close to getting completed, but that I never finished. > (See: https://github.com/thecaligarmo/oriented_matroids) I'm now at a place > to finish it, but (since it's been almost 3 years) it seems the method I was > using to create a new package is no longer valid. For example, when I try and > do an install, I get the following error: > > SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build > and pip and other standards-based tools. > > I'd like for this to stay a package (at least for now) for development > purposes with a potential for it to be integrated into sagemath later on. I > tried to use https://doc.sagemath.org/html/en/developer/packaging.html in > order to see how the new method of creating a package was, but, to be honest, > I found it more confusing than enlightening as it didn't actually how how to > create a new package. (It showed how to integrate an already existing package > into sage, but that's about it).
This part of the docs addresses a different task - on integrating your code into Sage library, not how to create Python packages dependent on Sage (the latter is not different from creating a Python package with external Python dependencies) It would be great to have a good example of this, Sage-specific - I don't know how good https://pypi.org/project/slabbe is good as an example. > > Would anyone would have the time and patience to help guide me through and/or > give me the resources so I can implement something like this? > > Kinndly, > Aram Dermenjian > > > -- > 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 sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/06661e5a-340c-41b8-8d98-39c874bfabb3n%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 sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1zzfA_Wd--u6eQfREidNjR75PQ9iCkoH23D3zYZ0R2MQ%40mail.gmail.com.