mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-01 22:14:08 +03:00
10e3e8f6ab
some changes to pass flake8 linting. added setup.cfg for flake8 configuration. Ignoring E265 can be added to this file because config/settings.py is flooded with this error. After #105 gets merged it'll be OK.
31 lines
640 B
Python
31 lines
640 B
Python
# -*- coding: utf-8 -*-
|
|
#!/usr/bin/env python
|
|
|
|
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'],
|
|
)
|