Skip to content

Instantly share code, notes, and snippets.

@rosskarchner
Last active January 13, 2017 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosskarchner/828373043b6c8f4b724e89af937b4563 to your computer and use it in GitHub Desktop.
Save rosskarchner/828373043b6c8f4b724e89af937b4563 to your computer and use it in GitHub Desktop.
import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file into a string"""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
setup(
name='cfgov',
version_format='1.0',
author='Org',
author_email='tech@domain',
maintainer='cfpb',
maintainer_email='tech@domain',
packages= find_packages(where='./cfgov/', exclude=['*.tests', '*.tests.*']),
package_dir={'':'cfgov'},
include_package_data=True,
description=u'description',
classifiers=[
'Topic :: Internet :: WWW/HTTP',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
],
long_description=read_file('README.md'),
zip_safe=False,
frontend_build_script= 'frontend.sh',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment