Opened 9 years ago

Closed 10 months ago

#14834 closed enhancement (invalid)

standard build system for the python library

Reported by: Felix Salfelder Owned by: Felix Salfelder
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: distribution Keywords:
Cc: Leif Leonhardy, Robert Pollak, Michael Orlitzky Merged in:
Authors: Reviewers: Michael Orlitzky
Report Upstream: N/A Work issues:
Branch: u/felixs/14834 (Commits, GitHub, GitLab) Commit: 4fd186303c1bb94ec658ee771841430d3d6c107b
Dependencies: #15039, #15105, #15227, #14728 Stopgaps:

Status badges

Description (last modified by Felix Salfelder)

The python library needs a configurable build system. This can be either an autotools build system or a configurable setup.py/modules_list.py.

A configurable setup.py/modules_list.py pulls in the disadvantages of distutils. Just using autotools turns out to be much more transparent and simple.

Change History (20)

comment:1 Changed 9 years ago by Leif Leonhardy

Cc: Leif Leonhardy added

comment:2 Changed 9 years ago by Robert Pollak

Cc: Robert Pollak added

comment:3 Changed 9 years ago by Felix Salfelder

Dependencies: #15039

comment:4 Changed 9 years ago by Felix Salfelder

Dependencies: #15039#15039, #15105

comment:5 Changed 9 years ago by Felix Salfelder

Branch: u/felixs/14834
Commit: df002336882557f45cd96cd1c313ddc2b9887b1b

comment:6 Changed 9 years ago by git

Commit: df002336882557f45cd96cd1c313ddc2b9887b1bf77e13c4c46d3dcfa61da43dbd3247ddc4a12102

Branch pushed to git repo; I updated commit sha1. New commits:

[changeset:f77e13c]python-sage: env
[changeset:29f8f3e]python-sage build system continued/cleanup
[changeset:28b0da1]python-sage build system

comment:7 Changed 9 years ago by git

Commit: f77e13c4c46d3dcfa61da43dbd3247ddc4a121021f3f7e41c16742e12a0398e95b17462fbb18019c

Branch pushed to git repo; I updated commit sha1. New commits:

[changeset:1f3f7e4]Merge branches 'cython_dbg' and 'cython_deps' into python_sage_build
[changeset:42449c1]python-sage doctest path tolerance
[changeset:ae8bb63]python-sage: env
[changeset:5a16d99]python-sage build system
[changeset:f82b422]cython: patch: gdb output dir option
[changeset:bd11c24]cython: add -MF switch to write dependency files (#14728)

comment:8 Changed 9 years ago by git

Commit: 1f3f7e41c16742e12a0398e95b17462fbb18019cfcb670ff3a179ce00649c3f5c041856e033d140e

Branch pushed to git repo; I updated commit sha1. New commits:

[changeset:fcb670f]simplify python byte compile rules
[changeset:2af9070]GMP_VS_MPIR fixup
[changeset:45a30e1]provide unhardwired SAGE_CFLAGS
[changeset:e195725]python-sage: Makefiles
[changeset:c4562b3]python_sage: build system continued

comment:9 Changed 9 years ago by Felix Salfelder

Status: newneeds_review

comment:10 Changed 9 years ago by Felix Salfelder

Description: modified (diff)

comment:11 Changed 9 years ago by git

Commit: fcb670ff3a179ce00649c3f5c041856e033d140eec442e53392b43c24dc79fe4bdfda0de94fd7d14

Branch pushed to git repo; I updated commit sha1. New commits:

[changeset:ec442e5]always use autotools within sage ("the distribution")
[changeset:26c67b2]python-sage: make cython call more toolchain friendly

comment:12 Changed 9 years ago by git

Commit: ec442e53392b43c24dc79fe4bdfda0de94fd7d144fd186303c1bb94ec658ee771841430d3d6c107b

Branch pushed to git repo; I updated commit sha1. New commits:

[changeset:4fd1863]Makefiles update
[changeset:40772ba]config.py
[changeset:0af9952]Merge branch 'build_system' into python_sage_build
[changeset:1dacfa5]python-sage: Makefiles update for 512beta4
[changeset:cb27876]python-sage: Makefiles fix

comment:13 Changed 9 years ago by Felix Salfelder

Dependencies: #15039, #15105#15039, #15105, #15227, #14728

It's more fun with cython properly patched

comment:14 Changed 9 years ago by Jeroen Demeyer

Status: needs_reviewneeds_work

Needs to be rebased.

comment:15 Changed 9 years ago by For batch modifications

Milestone: sage-6.1sage-6.2

comment:16 Changed 8 years ago by For batch modifications

Milestone: sage-6.2sage-6.3

comment:17 Changed 8 years ago by For batch modifications

Milestone: sage-6.3sage-6.4

comment:18 Changed 13 months ago by Matthias Köppe

Authors: Felix Salfelder
Milestone: sage-6.4sage-duplicate/invalid/wontfix
Status: needs_workneeds_review

outdated, should close

comment:19 Changed 10 months ago by Michael Orlitzky

Cc: Michael Orlitzky added
Reviewers: Michael Orlitzky
Status: needs_reviewpositive_review

There will always be a need for this until it happens. We had another ticket opened for it in #29119. Setuptools can only badly pretend to be autotools, and pip will never be able to handle non-python dependencies. It's being cleverly faked in #29039, wherein we download a copy of sage-the-distribution and run its autotools build system to create a python file to be used by sagelib to... avoid just using autotools in sagelib. But one can imagine a world without the extra step.

That said, everyone is working on that, and no one is working on this, so there's not much point in keeping it open.

comment:20 Changed 10 months ago by Matthias Köppe

Resolution: invalid
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.