cookiecutter-django/{{cookiecutter.repo_name}}/setup.py

31 lines
642 B
Python
Raw Normal View History

#!/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,
2015-02-10 20:06:54 +03:00
author="{{ cookiecutter.author_name }}",
author_email='{{ cookiecutter.email }}',
packages=[
'{{ cookiecutter.repo_name }}',
],
include_package_data=True,
install_requires=[
2015-02-10 20:16:00 +03:00
'Django>=1.7.4',
],
zip_safe=False,
scripts=['{{ cookiecutter.repo_name }}/manage.py'],
)