rubenvereecken / dotbot-apt-get

dotbot apt-get plugin
9 stars 3 forks source link

aptget.pyc is generated each time I run Dotbot #2

Open nagromc opened 7 years ago

nagromc commented 7 years ago

I have a simple Dotbot configuration where I put stuffs required by my setup. Whenever I run Dotbot with ./install -c requirements.conf.yaml, a new aptget.pyc file appears in the imported dotbot-apt-get module resulting in polluting a git status --short:

$ git status --short
## master...origin/master
 M bin/dotbot-apt-get
$ git diff
diff --git a/bin/dotbot-apt-get b/bin/dotbot-apt-get
--- a/bin/dotbot-apt-get
+++ b/bin/dotbot-apt-get
@@ -1 +1 @@
-Subproject commit 63078f9af498599e780c2bb6039d6e2156d5a8e8
+Subproject commit 63078f9af498599e780c2bb6039d6e2156d5a8e8-dirty
$ rm bin/dotbot-apt-get/aptget.pyc
$ git status --short
## master...origin/master

I'm not a Python guy, but FWIU aptget.pyc is the binary from aptget.py right? Isn't it possible to avoid this compilation like Dotbot -- I think -- does?

rubenvereecken commented 7 years ago

Eeh. Dunno. Is it?