Skip to content

Commit

Permalink
Formatting of setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallmcdonnell committed Aug 1, 2019
1 parent 1fdb424 commit b4360f7
Showing 1 changed file with 29 additions and 21 deletions.
50 changes: 29 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,36 @@ def read_requirements_from_file(filepath):
return req_file.readlines()


setup_args = dict(install_requires=read_requirements_from_file(os.path.join(THIS_DIR, 'install-requirements.txt')),
tests_require=read_requirements_from_file(os.path.join(THIS_DIR, 'test-requirements.txt')))
setup_args = dict(
install_requires=read_requirements_from_file(
os.path.join(
THIS_DIR,
'install-requirements.txt')),
tests_require=read_requirements_from_file(
os.path.join(
THIS_DIR,
'test-requirements.txt')))

setup(name="addie",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Need a description",
author="Dan, Wenduo, Jean",
author_email="[email protected], [email protected], [email protected]",
url="http://github.com/neutrons/addie",
long_description="""Should have a longer description""",
license="The MIT License (MIT)",
entry_points = {
setup(
name="addie",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Need a description",
author="Dan, Wenduo, Jean",
author_email="[email protected], [email protected], [email protected]",
url="http://github.com/neutrons/addie",
long_description="""Should have a longer description""",
license="The MIT License (MIT)",
entry_points={
'console_scripts': [
"addie = addie.main:main"
]
},
packages=find_packages(),
package_data={'': ['*.ui', '*.png', '*.qrc', '*.json']},
include_package_data=True,
setup_requires=[],
install_requires=setup_args["install_requires"],
tests_require=setup_args["install_requires"] + setup_args["tests_require"],
test_suite='tests'
)
},
packages=find_packages(),
package_data={'': ['*.ui', '*.png', '*.qrc', '*.json']},
include_package_data=True,
setup_requires=[],
install_requires=setup_args["install_requires"],
tests_require=setup_args["install_requires"] + setup_args["tests_require"],
test_suite='tests'
)

0 comments on commit b4360f7

Please sign in to comment.