question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recommended way to install for development?

See original GitHub issue

Apparently I have no idea how to install cclib while I’m developing anymore, because python setup.py install is simply not updating changed files in my virtualenvs.

Maybe @mcocdawc can chime in, since he helped rewrite setup.py.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mcocdawccommented, Feb 22, 2018

Yes and no. It works like a symlink. So as long as only the content of your files is different, there is no problem. I am not exactly sure what happens if you have different directory structures across your branches. Also compiled extensions have to be recompiled. But in 99% of your time, where you just change Python code in existing files a reinstallation is not required.

The editable installation does not automatically install dependencies. This is just from my experience. I don’t know if it is a bug or documented behavior. For these cases it is probably best to type:

pip install .
pip uninstall cclib
pip install -e .
0reactions
langnercommented, Feb 22, 2018

All of that makes sense. I asked not only because I wasn’t sure how to do it, but we need new instructions for the next time the docs get updated.

Yes… we should the docs after the recent changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setup a development environment on Windows | Microsoft Learn
Install Android Studio, or choose a cross-platform solution like Xamarin, React, or Cordova, and get your development environment setup on ...
Read more >
Top 10 Applications to Install for Development on Ubuntu
Git is the most popular version control system, followed by SVN. sudo apt-get install git. To verify if the installation was successful, run...
Read more >
Tutorial Install Development Tools On Ubuntu 20.04 & 21.04
In this article, you will learn how to install the development tools group on Ubuntu. You can install the developer tools in two...
Read more >
How can I install commonly used developer tools? - Ask Ubuntu
The Ubuntu SDK is the recommended way to develop apps for Ubuntu. The Get Started page on the Ubuntu App Developer site will...
Read more >
Setting up a development install - JupyterHub
If you haven't installed Python before, the recommended way to install it is to use Miniconda. Remember to get the 'Python 3' version,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found