removed entry point from setup
renamed managed to realms-wiki and added to setup scripts removed cli script from realms module
This commit is contained in:
parent
81e76c6c19
commit
88134dbdce
5
realms/cli.py → realms-wiki
Normal file → Executable file
5
realms/cli.py → realms-wiki
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from gevent import wsgi
|
||||
from realms import config, app, cli, db
|
||||
from realms.lib.util import random_string
|
||||
|
@ -139,6 +141,5 @@ def drop_db():
|
|||
click.echo("Dropping all tables")
|
||||
db.drop_all()
|
||||
|
||||
|
||||
def main():
|
||||
if __name__ == '__main__':
|
||||
cli()
|
9
setup.py
9
setup.py
|
@ -8,7 +8,7 @@ with open('README.md') as f:
|
|||
with open('requirements.txt') as f:
|
||||
required = f.read().splitlines()
|
||||
|
||||
VERSION = '0.1.4'
|
||||
VERSION = '0.1.8'
|
||||
|
||||
CLASSIFIERS = [
|
||||
'Intended Audience :: Developers',
|
||||
|
@ -21,6 +21,7 @@ setup(name='realms-wiki',
|
|||
version=VERSION,
|
||||
packages=find_packages(),
|
||||
install_requires=required,
|
||||
scripts=['realms-wiki'],
|
||||
author='Matthew Scragg',
|
||||
author_email='scragg@gmail.com',
|
||||
maintainer='Matthew Scragg',
|
||||
|
@ -31,8 +32,4 @@ setup(name='realms-wiki',
|
|||
description=DESCRIPTION,
|
||||
long_description=LONG_DESCRIPTION,
|
||||
platforms=['any'],
|
||||
classifiers=CLASSIFIERS,
|
||||
entry_points='''
|
||||
[console_scripts]
|
||||
realms-wiki=realms.cli:main
|
||||
''')
|
||||
classifiers=CLASSIFIERS)
|
Loading…
Reference in a new issue