refactoring project to a also be a python package

This commit is contained in:
Ashley Camba 2013-12-17 16:27:18 +01:00
parent 86dd24ff6a
commit e197fd33b1
48 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import {{ cookiecutter.repo_name }}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = {{ cookiecutter.repo_name }}.__version__
readme = open('README.rst').read()
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=[
],
zip_safe=False,
)