Skip to content

Instantly share code, notes, and snippets.

@jstutters
Last active January 24, 2017 12:53
Show Gist options
  • Save jstutters/4987300ed916664d2707e75d34aa7bf7 to your computer and use it in GitHub Desktop.
Save jstutters/4987300ed916664d2707e75d34aa7bf7 to your computer and use it in GitHub Desktop.
Skeleton setup.py
import codecs
import os.path
from setuptools import find_packages, setup
NAME = ''
with codecs.open(os.path.join(NAME, 'VERSION'), encoding='utf-8') as f:
version = f.read().strip()
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
name=NAME,
version=version,
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=True,
author='Jon Stutters',
author_email='',
description='',
long_description=long_description,
url='',
install_requires=[],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
license='MIT',
classifiers=[]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment