diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-07-29 18:17:03 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-07-29 18:41:20 +0100 |
commit | 09e0b549bcff9afdffb0ff9bd3f6f2878589f568 (patch) | |
tree | 40eedeb75f2ec0129913595eb46e70e8ff916e6d /setup.py | |
parent | cc7b3d680fe0d181dcde31bfb54baf391e035c4e (diff) | |
download | lorry-controller-09e0b549bcff9afdffb0ff9bd3f6f2878589f568.tar.gz |
local: Create repos with empty description and enabled for export
'git init' copies files into the repository from a template directory,
which contains a 'replace me' description that we don't want. Provide
and use our own template directory instead.
While we're at it, also add the git-daemon-export-ok flag file that
git-daemon and git-http-backend may check for (depending on their
configuration).
Closes #16.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2012-2019 Codethink Limited +# Copyright (C) 2012-2020 Codethink Limited from distutils.core import setup @@ -16,6 +16,7 @@ setup(name='lorry-controller', 'lorry-controller-remove-old-jobs'], packages=['lorrycontroller', 'lorrycontroller.migrations'], data_files=[ + ('share/lorry-controller/git-templates', glob.glob('git-templates/*')), ('share/lorry-controller/templates', glob.glob('templates/*')), ('share/lorry-controller/static', glob.glob('static/*')), ], |