#20218: Use pip to install Python dependencies
-------------------------------------+-------------------------------------
Reporter: embray | Owner: embray
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-7.2
Component: build | Resolution:
Keywords: | Merged in:
Authors: Erik Bray | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/embray/pip- | Commit:
install | 7447ef236941c521fb730b0baa1a760d7d4aa15d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
I made a project with the following files:
`zzz.py`:
{{{
print("zzz")
}}}
`setup.py`:
{{{
from setuptools import setup # setuptools or distutils does not matter
setup(
name="zzz",
py_modules=["zzz"],
)
}}}
I changed the permissions of both these files to `0666` and then ran
`python setup.py sdist`. The result:
{{{
drwxr-xr-x jdemeyer/jdemeyer 0 2016-04-21 17:38 zzz-0.0.0/
drwxr-xr-x jdemeyer/jdemeyer 0 2016-04-21 17:38 zzz-0.0.0/zzz.egg-info/
-rw-r--r-- jdemeyer/jdemeyer 1 2016-04-21 17:38 zzz-0.0.0/zzz.egg-
info/dependency_links.txt
-rw-r--r-- jdemeyer/jdemeyer 177 2016-04-21 17:38 zzz-0.0.0/zzz.egg-info
/PKG-INFO
-rw-r--r-- jdemeyer/jdemeyer 123 2016-04-21 17:38 zzz-0.0.0/zzz.egg-
info/SOURCES.txt
-rw-r--r-- jdemeyer/jdemeyer 4 2016-04-21 17:38 zzz-0.0.0/zzz.egg-
info/top_level.txt
-rw-r--r-- jdemeyer/jdemeyer 177 2016-04-21 17:38 zzz-0.0.0/PKG-INFO
-rw-rw-rw- jdemeyer/jdemeyer 113 2016-04-21 17:36 zzz-0.0.0/setup.py
-rw-r--r-- jdemeyer/jdemeyer 59 2016-04-21 17:38 zzz-0.0.0/setup.cfg
-rw-rw-rw- jdemeyer/jdemeyer 13 2016-04-21 17:28 zzz-0.0.0/zzz.py
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20218#comment:22>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.