Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install src/bin scripts by sagelib's setup.py, not make #21559

Closed
mkoeppe opened this issue Sep 22, 2016 · 83 comments
Closed

Install src/bin scripts by sagelib's setup.py, not make #21559

mkoeppe opened this issue Sep 22, 2016 · 83 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2016

This ticket cleans up how the contents of src/bin are installed. One of its goals is to make the sagelib installation done by src/setup.py self-contained regarding the scripts that it needs at runtime.

Previous tickets moved some of the scripts to build/bin (no longer installed in SAGE_LOCAL).

In follow-up tickets, src/bin could be cleaned up more.

Depends on #29111

CC: @jdemeyer @vbraun @embray @isuruf @jhpalmieri @kiwifb @kcrisman @orlitzky @antonio-rojas @dimpase

Component: build

Author: Matthias Koeppe

Branch/Commit: 19d7f67

Reviewer: John Palmieri, François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/21559

@mkoeppe mkoeppe added this to the sage-7.5 milestone Sep 22, 2016
@mkoeppe

This comment has been minimized.

@embray
Copy link
Contributor

embray commented Sep 28, 2016

comment:2

+1

Also sage-pip-install of #21441, but I might wait until that ticket is merged first, then move that script along with the others.

@jdemeyer
Copy link

comment:3

Replying to @embray:

+1

Also sage-pip-install of #21441

I already moved that in #21441 (which still needs review by the way).

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-7.5, sage-8.3 Jun 2, 2018
@videlec
Copy link
Contributor

videlec commented Aug 3, 2018

comment:6

update milestone 8.3 -> 8.4

@videlec videlec modified the milestones: sage-8.3, sage-8.4 Aug 3, 2018
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-8.4, sage-8.8 May 20, 2019
@embray
Copy link
Contributor

embray commented Jun 14, 2019

comment:8

As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).

@embray embray removed this from the sage-8.8 milestone Jun 14, 2019
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe added this to the sage-9.1 milestone Feb 21, 2020
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 2, 2020

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 3, 2020

Commit: 428ea11

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 3, 2020

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 3, 2020

New commits:

1a54a80Move src/bin/testc*.sh to build/bin/, delete src/bin/sage-README-osx.txt
428ea11Install src/bin/* by setup.py [scripts] instead of by build/make/deps

@mkoeppe mkoeppe changed the title Move sage-the-distribution scripts from src/bin to build/bin Move sage-the-distribution scripts from src/bin to build/bin; install remaining src/bin scripts by setup.py, not make Mar 3, 2020
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2020

Changed commit from 428ea11 to 1b3c860

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 23, 2020

Changed commit from 831cc09 to e3eca85

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 23, 2020

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

a56dc35Merge tag '9.2.beta1' into t/29702/public/move_all_code_from_src_setup_py__src_fpickle_setup_py_to_sage_setup
e3eca85Merge branch 'public/move_all_code_from_src_setup_py__src_fpickle_setup_py_to_sage_setup' of git://trac.sagemath.org/sage into t/21559/change-src-bin-installation

@jhpalmieri
Copy link
Member

comment:60

I run into problems unless I make this change:

diff --git a/src/setup.py b/src/setup.py
index 9970525cf9..85a32a5962 100755
--- a/src/setup.py
+++ b/src/setup.py
@@ -162,7 +162,6 @@ code = setup(name = 'sage',
                  'bin/sage-rebaseall.sh',
                  'bin/sage-rst2sws',
                  'bin/sage-rst2txt',
-                 'bin/sage-rsyncdist',
                  'bin/sage-run',
                  'bin/sage-run-cython',
                  'bin/sage-startuptime.py',

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 24, 2020

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

7d29141src/setup.py: Do not install removed script sage-rsyncdist

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 24, 2020

Changed commit from e3eca85 to 7d29141

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 29, 2020

comment:63

Needs review

@jhpalmieri
Copy link
Member

comment:64

Looks okay to me.

@jhpalmieri
Copy link
Member

Reviewer: John Palmieri, François Bissey

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 30, 2020

comment:65

Thanks!

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 4, 2020

Changed commit from 7d29141 to c5f7f2f

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 4, 2020

Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:

c5f7f2fMerge tag '9.2.beta3' into t/21559/change-src-bin-installation

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2020

Changed commit from c5f7f2f to 19d7f67

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2020

Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:

3953671Merge tag '9.2.beta4' into t/29111/specify_a_subset_of_sage_command_line_options_that_are_supported_by_sagelib___rather_than_sage_the_distribution
19d7f67Merge branch 't/29111/specify_a_subset_of_sage_command_line_options_that_are_supported_by_sagelib___rather_than_sage_the_distribution' into t/21559/change-src-bin-installation

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 8, 2020

Changed dependencies from #29702, #29111, #29920 to #29111

@vbraun
Copy link
Member

vbraun commented Jul 10, 2020

Changed branch from u/mkoeppe/change-src-bin-installation to 19d7f67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants