On 02/29/2016 12:02 AM, Saurav Kumar wrote:
> I wanted to install the new packages in a virtualenv

Then, just running 'python setup.py install' from the source or 'pip
install <package name>' when the the virtualenv is activated should
install the package inside the virtualenv. Notice that you *don't*[1]
have to use sudo, using sudo will install it globally.

Footnotes:
1. Here I am assuming that you( the user) own the directory where the
virtualenv is.

> 
> 
> On Mon, 29 Feb 2016, 05:15 Abhilash Raj, <raj.abhila...@gmail.com
> <mailto:raj.abhila...@gmail.com>> wrote:
> 
>     Hi Sourav,
> 
>     On 02/28/2016 01:42 PM, Saurav Kumar wrote:
>     > I​ want to install Mailman in a custom directory, rather than using ​
>     > ​"user ​
>     > ​site-package" directory which is default when using install
>     without any
>     > extra parameter.
>     > I'm not able to use the -d and install-dir parameter. Please guide
>     me what
>     > i'm doing wrong
> 
>     What do you mean by a custom directory? By default, setuptools is
>     configured to install packages in a particular directory on each linux
>     distribution (probably on OSX and Windows too, not sure about that.
> 
>     However, if you want to setup mailman (or any python package) for
>     development, you can try 'python setup.py develop' instead of install.
> 
>     >
>     > Thanks
>     > Saurav
>     > _______________________________________________
>     > Mailman-Developers mailing list
>     > Mailman-Developers@python.org <mailto:Mailman-Developers@python.org>
>     > https://mail.python.org/mailman/listinfo/mailman-developers
>     > Mailman FAQ: http://wiki.list.org/x/AgA3
>     > Searchable Archives:
>     http://www.mail-archive.com/mailman-developers%40python.org/
>     > Unsubscribe:
>     
> https://mail.python.org/mailman/options/mailman-developers/raj.abhilash1%40gmail.com
>     >
>     > Security Policy: http://wiki.list.org/x/QIA9
>     >
> 
>     --
>     thanks,
>     Abhilash Raj
> 
> -- 
> 
> Saurav Kumar
> Sophomore
> IIT BHU Varanasi
> 

-- 
thanks,
Abhilash Raj
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to