python setup.py develop
See original GitHub issueShouldn’t this work for django-extensions? python setup.py develop
It works in other projects, but when I run it with django-extensions I get the strangest error message: $ 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'
I’ve also looked at the contents of setup.py, and haven’t spotted anything unusual.
Issue Analytics
- State:
- Created 12 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Python setup.py develop vs install - Stack Overflow
python setup.py install is used to install (typically third party) packages that you're not going to develop/modify/debug yourself. For your own stuff, ...
Read more >Python Project Install - develop vs install & setuptools vs pip
The difference between setup.py develop and setup.py install ... In short, you want to run setup.py develop when you are editing code because...
Read more >Development Mode (a.k.a. “Editable Installs”) - Setuptools
This installation mode will try to emulate how python setup.py develop works (still within the context of PEP 660). ... The compat mode...
Read more >2. Writing the Setup Script — Python 3.11.1 documentation
The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the...
Read more >Making a Python Package
Create the basic package structure · Write a setup.py · pip install -e . · Put some tests in package/test · pytest in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@filipefigcorreia: You can make this work locally, if you like. In setup.py replace the line
with
That’s all you need.
@filipefigcorreia: no problem =)
distutils is part of Python, so everyone’s assumed to have it. setuptools is an optional install (though a pretty popular one) and gives some extra options. So it’s up to each project whether to require that its users install the optional package and thus get those options.
I think a good balance might be struck by