mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 20:28:01 +03:00
cdac4b6f06
fixes those small linting issues that should not be in this template. ``users/models.py`` F401 warnings are intentionally left for convenience in future coding.
31 lines
640 B
Python
31 lines
640 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import sys
|
|
|
|
|
|
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
import {{ cookiecutter.repo_name }}
|
|
version = {{ cookiecutter.repo_name }}.__version__
|
|
|
|
setup(
|
|
name='{{ cookiecutter.project_name }}',
|
|
version=version,
|
|
author='{{ cookiecutter.full_name }}',
|
|
author_email='{{ cookiecutter.email }}',
|
|
packages=[
|
|
'{{ cookiecutter.repo_name }}',
|
|
],
|
|
include_package_data=True,
|
|
install_requires=[
|
|
'Django>=1.6.5',
|
|
],
|
|
zip_safe=False,
|
|
scripts=['{{ cookiecutter.repo_name }}/manage.py'],
|
|
)
|