Fix: InitDB Console script added to setup.py

This commit is contained in:
tanshu
2018-07-14 11:57:39 +05:30
parent 29b81cbd21
commit adb7f25c9f
2 changed files with 44 additions and 25 deletions

View File

@ -16,18 +16,18 @@ requires = [
'zope.sqlalchemy',
'SQLAlchemy',
'psycopg2-binary',
]
]
setup(name='brewman',
version='6.0',
description='brewman',
long_description=README + '\n\n' + CHANGES,
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Tanshu',
author_email='brewman@tanshu.com',
url='http://tanshu.com',
@ -38,9 +38,10 @@ setup(name='brewman',
install_requires=requires,
tests_require=requires,
test_suite="brewman",
entry_points = """\
entry_points="""\
[paste.app_factory]
main = brewman:main
[console_scripts]
initdb = brewman.scripts.initializedb:main
""",
)