python setup.py install is using the build directory path

12 views
Skip to first unread message

ezra.j.rice

unread,
Jul 5, 2019, 2:42:50 PM7/5/19
to Tethys Platform
I've installed my app on a new machine running the latest stable version of Tethys, but have noticed that it is using a legacy version of my app that I was able to track down. My app structure is
tethysapp-my_app
  - build
    - lib
      - tethysapp
        - my_app
          ...
  - tethysapp
    - my_app
      ...
  .gitignore
  __init__.py
  setup.py

The build path has not been updated with development changes like the outer tethysapp path has. With my already installed app, I have no issues with running updates to the app, but with this most recent installation, it seems to just want to use the old code found in tethysapp-my_app/build/. Any ideas on how to get it to start using the other directory path?

ezra.j.rice

unread,
Jul 7, 2019, 10:41:46 AM7/7/19
to Tethys Platform
Nevermind this. I had accidentally pushed my build directory from a different server into the source code and when I installed that source code on a different sandbox machine, it used that legacy build directory which then cause the request to be put in a cache on the OS that I had to clear. I eventually removed the build directory from the source code repository and did a clean reinstall of the app with the -f flag on collectall to get a fresh workspace.
Reply all
Reply to author
Forward
0 new messages