mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Took project_name out of the directory structure
This commit is contained in:
parent
457515aada
commit
9cc5bc0cb7
|
@ -77,17 +77,17 @@ qthelp:
|
|||
@echo
|
||||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
||||
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
||||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/{{ cookiecutter.project_name }}.qhcp"
|
||||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/{{ cookiecutter.repo_name }}.qhcp"
|
||||
@echo "To view the help file:"
|
||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/{{ cookiecutter.project_name }}.qhc"
|
||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/{{ cookiecutter.repo_name }}.qhc"
|
||||
|
||||
devhelp:
|
||||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
||||
@echo
|
||||
@echo "Build finished."
|
||||
@echo "To view the help file:"
|
||||
@echo "# mkdir -p $$HOME/.local/share/devhelp/{{ cookiecutter.project_name }}"
|
||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/{{ cookiecutter.project_name }}"
|
||||
@echo "# mkdir -p $$HOME/.local/share/devhelp/{{ cookiecutter.repo_name }}"
|
||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/{{ cookiecutter.repo_name }}"
|
||||
@echo "# devhelp"
|
||||
|
||||
epub:
|
||||
|
|
|
@ -164,7 +164,7 @@ html_static_path = ['_static']
|
|||
#html_file_suffix = None
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = '{{ cookiecutter.project_name }}doc'
|
||||
htmlhelp_basename = '{{ cookiecutter.repo_name }}doc'
|
||||
|
||||
|
||||
# -- Options for LaTeX output --------------------------------------------------
|
||||
|
@ -183,7 +183,7 @@ latex_elements = {
|
|||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', '{{ cookiecutter.project_name }}.tex', u'{{ cookiecutter.project_name }} Documentation',
|
||||
('index', '{{ cookiecutter.repo_name }}.tex', u'{{ cookiecutter.project_name }} Documentation',
|
||||
u'{{ cookiecutter.author_name }}', 'manual'),
|
||||
]
|
||||
|
||||
|
@ -213,7 +213,7 @@ latex_documents = [
|
|||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
('index', '{{ cookiecutter.project_name }}', u'{{ cookiecutter.project_name }} Documentation',
|
||||
('index', '{{ cookiecutter.repo_name }}', u'{{ cookiecutter.project_name }} Documentation',
|
||||
[u'{{ cookiecutter.author_name }}'], 1)
|
||||
]
|
||||
|
||||
|
@ -227,7 +227,7 @@ man_pages = [
|
|||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', '{{ cookiecutter.project_name }}', u'{{ cookiecutter.project_name }} Documentation',
|
||||
('index', '{{ cookiecutter.repo_name }}', u'{{ cookiecutter.project_name }} Documentation',
|
||||
u'{{ cookiecutter.author_name }}', '{{ cookiecutter.project_name }}',
|
||||
'{{ cookiecutter.description }}','Miscellaneous'),
|
||||
]
|
||||
|
|
|
@ -99,9 +99,9 @@ if "%1" == "qthelp" (
|
|||
echo.
|
||||
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
||||
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
||||
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\{{ cookiecutter.project_name }}.qhcp
|
||||
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\{{ cookiecutter.repo_name }}.qhcp
|
||||
echo.To view the help file:
|
||||
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\{{ cookiecutter.project_name }}.ghc
|
||||
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\{{ cookiecutter.repo_name }}.ghc
|
||||
goto end
|
||||
)
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ try:
|
|||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
import {{ cookiecutter.project_name }}
|
||||
version = {{ cookiecutter.project_name }}.__version__
|
||||
import {{ cookiecutter.repo_name }}
|
||||
version = {{ cookiecutter.repo_name }}.__version__
|
||||
|
||||
setup(
|
||||
name='{{ cookiecutter.project_name }}',
|
||||
|
@ -19,12 +19,12 @@ setup(
|
|||
author='{{ cookiecutter.full_name }}',
|
||||
author_email='{{ cookiecutter.email }}',
|
||||
packages=[
|
||||
'{{ cookiecutter.project_name }}',
|
||||
'{{ cookiecutter.repo_name }}',
|
||||
],
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
'Django>=1.6.1',
|
||||
],
|
||||
zip_safe=False,
|
||||
scripts=['{{ cookiecutter.project_name }}/manage.py'],
|
||||
scripts=['{{ cookiecutter.repo_name }}/manage.py'],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user