mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
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.1',
|
|
],
|
|
zip_safe=False,
|
|
scripts=['{{ cookiecutter.repo_name }}/manage.py'],
|
|
)
|