Re: [sympy] setup.py develop ?

792 views
Skip to first unread message

Dhia Eddine

unread,
Dec 1, 2012, 11:35:43 AM12/1/12
to sy...@googlegroups.com
try :
python setup.py develop

On 1 December 2012 09:07, Rathmann <pkrat...@gmail.com> wrote:
Hi,

On the install page of the documentation  http://docs.sympy.org/0.7.2/install.html#git , it talks about

If you want to install SymPy, but still want to use the git version, you can run from your repository:

$ setup.py develop

But, at least when I try it, setup.py it complains of an 'invalid command'.  Am I doing something wrong here?

            Thanks

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/01YalgJ3lNUJ.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sympy?hl=en.



--
Greeting!
Kendhia :)


Rathmann

unread,
Dec 1, 2012, 1:26:57 PM12/1/12
to sy...@googlegroups.com
Thanks.  But that is what I tried?

python setup.py develop
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'develop'

This is the setup.py in the top-level sympy directory (next to .git, setupupegg.py ...)

I was guessing it is a documentation issue.  (Or an error on my part, of course.)

This is Linux, Python 2.7.3.

Thank You.

Sean Vig

unread,
Dec 1, 2012, 1:29:36 PM12/1/12
to sy...@googlegroups.com
On Sat, Dec 1, 2012 at 12:26 PM, Rathmann <pkrat...@gmail.com> wrote:
Thanks.  But that is what I tried?

python setup.py develop
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'develop'

This is the setup.py in the top-level sympy directory (next to .git, setupupegg.py ...)

I was guessing it is a documentation issue.  (Or an error on my part, of course.)

This is Linux, Python 2.7.3.

Thank You.

The docs are wrong, you should do:

python setupegg.py develop

Sean 

Rishabh Dixit

unread,
Dec 1, 2012, 1:32:22 PM12/1/12
to sy...@googlegroups.com
You might need sudo python setupegg.py develop if you are not already root.


--
You received this message because you are subscribed to the Google Groups "sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sympy?hl=en.



--
Regards,
Rishabh Dixit
BITS Pilani

Rathmann

unread,
Dec 2, 2012, 7:47:40 PM12/2/12
to sy...@googlegroups.com
Great.

I first had to install  setuptools, but then this worked fine.  (At least on Linux.  I haven't tried Windows or Mac.)

I was going to put in a change to the doc, but I see someone has already beaten me to it -- thanks.

Just so I am clear on the concept -

After doing this you can just do

         python setup.py build

but no need to do

        python setup.py install

And thus save time and a little disk space.  In fact, I would guess that in many cases you could even skip the build step.

Many thanks.

Aaron Meurer

unread,
Dec 2, 2012, 7:49:30 PM12/2/12
to sy...@googlegroups.com
On Sun, Dec 2, 2012 at 5:47 PM, Rathmann <pkrat...@gmail.com> wrote:
> Great.
>
> I first had to install setuptools, but then this worked fine. (At least on
> Linux. I haven't tried Windows or Mac.)
>
> I was going to put in a change to the doc, but I see someone has already
> beaten me to it -- thanks.
>
> Just so I am clear on the concept -
>
> After doing this you can just do
>
> python setup.py build
>
> but no need to do
>
> python setup.py install
>
> And thus save time and a little disk space. In fact, I would guess that in
> many cases you could even skip the build step.

You can always skip the build step.

Aaron Meurer
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/7MMGoIVVEgAJ.
Reply all
Reply to author
Forward
0 new messages