Skip to content

Commit

Permalink
Reformat for pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
blqn authored Aug 18, 2016
1 parent 9c0cfb7 commit b08c240
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/bobtemplates/jpcw/basic_namespace/setup.py.bob
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ version = '0.1.dev0'

here = os.path.abspath(os.path.dirname(__file__))


def read_file(*pathes):
path = os.path.join(here, *pathes)
if os.path.isfile(path):
Expand All @@ -17,18 +18,18 @@ def read_file(*pathes):
return ''

desc_files = (('README.rst',), ('docs', 'CHANGES.rst'),
('docs', 'CONTRIBUTORS.rst'))
('docs', 'CONTRIBUTORS.rst'))

long_description = '\n\n'.join([read_file(*pathes) for pathes in desc_files])

install_requires=['setuptools']
install_requires = ['setuptools']


setup(name='{{{ pkg_ns }}}.{{{ pkg_project }}}',
version=version,
description="{{{ pkg_description }}}",
long_description=long_description,
platforms = ["any"],
platforms=["any"],
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
Expand All @@ -46,7 +47,7 @@ setup(name='{{{ pkg_ns }}}.{{{ pkg_project }}}',
url="{{{ pkg_url }}}",
license="{{{ pkg_license }}}",
packages=find_packages("src"),
package_dir = {"": "src"},
package_dir={"": "src"},
namespace_packages=["{{{ pkg_ns }}}"],
include_package_data=True,
zip_safe={{{ pkg_zipsafe }}},
Expand Down

0 comments on commit b08c240

Please sign in to comment.