On Sat, May 10, 2014 at 10:00 AM, Martin Albrecht
<martinralbre...@googlemail.com> wrote:
> I was motivated by this thread to look into pip again. I like it, so +1 for
> inclusion.
>
> We might e.g. drop SQLAlchemy in return,which would Sage smaller instead of
> bigger. It is trivial to install using pip, it seems no code in the library
> depends on it, and the version we are shipping is very old.

+1 to dropping SQLAlchemy.  If it used by any optional packages, they
can just install it.
Shipping an old version of SQLAlchemy means shipping a probably buggy
broken version
too, which isn't something anybody should use anyways.

For those who don't know, the main point of SQLAlchemy is to provide a
very Python wrapping around MySQL, PostgreSQL, SQLite.  It's pretty
powerful/amazing if you're seriously using one of those tools, e.g.,
for web apps... but we're not in standard Sage.

William

>
> Cheers,
> Martin
>
> On Wednesday 23 Apr 2014 15:46:50 William Stein wrote:
>> Hi,
>>
>> There used to be a lot of confusion about which package manager /
>> installer one should use with python -- easy_install?  setuptools?
>> etc.
>>
>> Now the choice is clear: pip -- A tool for installing and managing
>> Python packages.
>>
>> See https://pypi.python.org/pypi/pip
>>
>> pip is amazing -- you can actually install/upgrade/remove Python
>> packages (see below), unlike the mess that we had to deal with for
>> years.   We should pay attention to the existence of this tool.
>>
>> I think we should include pip with Sage, especially since installing a
>> package manager is always a little _weird_.  Right now, one installs
>> pip by doing this:
>>
>>     sage -sh
>>     wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py;
>> python get-pip.py
>> ----
>>
>>
>>   [ ] Yes, make pip a standard part of Sage.
>>
>>   [ ] No, pip does not belong in Sage.
>>
>>
>>
>>
>> ------
>>
>> ~$ pip --help
>>
>> Usage:
>>   pip <command> [options]
>>
>> Commands:
>>   install                     Install packages.
>>   uninstall                   Uninstall packages.
>>   freeze                      Output installed packages in requirements
>> format. list                        List installed packages.
>>   show                        Show information about installed packages.
>>   search                      Search PyPI for packages.
>>   wheel                       Build wheels from your requirements.
>>   zip                         DEPRECATED. Zip individual packages.
>>   unzip                       DEPRECATED. Unzip individual packages.
>>   bundle                      DEPRECATED. Create pybundles.
>>   help                        Show help for commands.
>>
>> General Options:
>>   -h, --help                  Show help.
>>   -v, --verbose               Give more output. Option is additive,
>> and can be used up to 3 times.
>>   -V, --version               Show version and exit.
>>   -q, --quiet                 Give less output.
>>   --log-file <path>           Path to a verbose non-appending log,
>> that only logs failures. This log is active by default at
>> /projects/3702601d-9fbc-4e4e-b7ab-c10a79e34d3b/.pip/pip.log.
>>   --log <path>                Path to a verbose appending log. This
>> log is inactive by default.
>>   --proxy <proxy>             Specify a proxy in the form
>> [user:passwd@]proxy.server:port.
>>   --timeout <sec>             Set the socket timeout (default 15 seconds).
>>   --exists-action <action>    Default action when a path already
>> exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.
>>   --cert <path>               Path to alternate CA bundle.



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to