You need to create a setup.py file (see setuptools doc) it's a simple file
find examples. Then do
python setup.py sdist
This will create dist file then surft to the .tar.gz file
pip install -u django-poll.tar.gz
Or you also can do
python setup.py install
El martes, 27 de septiembre de 2016,
Hi everybody,
Pip was working, but I did not know how to use it. Now, I figured out.
Inside the project directory:
pip install ../django-polls/dist/django-polls-0.1.zip
Worked fine, the app is running.
Thank you, guys.
Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R. Souz
I don't do development in Windows, so take this with a grain of salt, but
under the directory in which you created your virtualenv, there should be a
directory called "bin". In that there will be a couple of files whose
names begin with "activate". There may be one with an obvious Windows
extensi
Once you are working on a virtual environment, simply using "pip
install " will install in the virtualenv. No need
for an option.
2016-09-27 21:12 GMT+02:00 ludovic coues :
> the command 'workon poll-tutorial' translate to "source
> poll-tutorial/bin/activate" on linux. That's why most user call
Hello ke1g and gary719_list1,
Thank you for your time.
I am using windows and the cmd terminal. I do not know what you mean by
activate the virtual env. I created one virtual enviroment called
'poll-tutorial' and used the command 'workon poll-tutorial' to work on this
enviroment.
I think you
the command 'workon poll-tutorial' translate to "source
poll-tutorial/bin/activate" on linux. That's why most user call it
"activating a virtualenv.
After your workon command, the terminal should display that you are in
the virtualenv workon. You can try "where pip" which should give you
the path
Hello ke1g and gary719_list1,
Thank you for your time.
Hi, I am using windows and the cmd terminal. I do not know what you mean by
activate the virtual env. I created one virtual enviroment called
'poll-tutorial' and used the command 'workon poll-tutorial' to work on this
enviroment.
I think
Hello ke1g and gary719_list1,
Thank you for your time.
I am using windows and the cmd terminal. I do not know what you mean by
activate the virtual env. I created one virtual enviroment called
'poll-tutorial' and used the command 'workon poll-tutorial' to work on this
enviroment.
I think you
Hi
It took me a while to figure this out but once you see it it is really
fairly simple. It somewhat depends on what you are using for and IDE
(Integrated Development Environment). I use Eclipse with PyDev plugin
and like it.
Determine where you want to put your VE (Virtual Envirnment) . Wi
You don't say what OS/platform you are using, and I don't know if what I
say below applies to Windows, but should be valid elsewhere.
Note, too, that I presume that you are using a command line (e.g.;
xterm/bash).
I also presume that you have managed to install virtualenv on your system.
If you
Hello Guys,
I need some help to install my Python package with virtualenv. I follow the
'Advanced tutorial: How to write reusable apps' and moved the polls
directory out of the project. Now I want to install my package using
virtualenv and pip, but I don't know how.
Consider I am inside of my
11 matches
Mail list logo