Skip to content

Instantly share code, notes, and snippets.

@skyjur
Created April 8, 2014 10:14
Show Gist options
  • Select an option

  • Save skyjur/10106924 to your computer and use it in GitHub Desktop.

Select an option

Save skyjur/10106924 to your computer and use it in GitHub Desktop.
Big refactoring
I want to propose a big big refactoring to make our package look like a nice python package.
tictrac -> tt
core -> tt/core
services/sync/<service> -> tt/services
services/sync/*.py -> tt/sync
services/* -> tt/sync (merge services/*.py with services/sync/*.py)
scripts/management -> tt/management
config -> tt/config
<other-apps> -> tt/<pther-apps>
manage.py -> tt/scripts/manage.py
Projects like novartis, and others, might benefit by removing them from main tictrac repository, and using tictrac as a dependency for them:
novartis/
(novartis conf goes here)
settings.py:
from tt.conf.defaults import *
novartis conf goes here....
deps/
tt (git submodule of main tictrac repository,
install using "python setup.py develop")
setup.py
Entry point can be tuned for specifically for novartis
manage=novartis.manage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment