Mercurial > wikked
comparison setup.py @ 234:bcbe934eab29 0.3.0
Fixed `setuptools` package:
- Correct requirements.
- Correct script/entry-point.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 16 Mar 2014 21:39:59 -0700 |
parents | dbc855c585cf |
children | 3580410865fe |
comparison
equal
deleted
inserted
replaced
233:141c93f87645 | 234:bcbe934eab29 |
---|---|
19 | 19 |
20 # Figure out the version. | 20 # Figure out the version. |
21 # (this is loosely based on what Mercurial does) | 21 # (this is loosely based on what Mercurial does) |
22 version = None | 22 version = None |
23 try: | 23 try: |
24 if os.path.isdir('.hg'): | 24 if os.path.isdir(os.path.join(os.path.dirname(__file__), '.hg')): |
25 cmd = ['hg', 'log', '-r', '.', '--template', '{tags}\n'] | 25 cmd = ['hg', 'log', '-r', '.', '--template', '{tags}\n'] |
26 tags, err = runcmd(cmd) | 26 tags, err = runcmd(cmd) |
27 versions = [t for t in tags.split() if t[0].isdigit()] | 27 versions = [t for t in tags.split() if t[0].isdigit()] |
28 | 28 |
29 cmd = ['hg', 'id', '-i'] | 29 cmd = ['hg', 'id', '-i'] |
70 url="https://github.com/ludovicchabant/Wikked", | 70 url="https://github.com/ludovicchabant/Wikked", |
71 license="Apache 2.0", | 71 license="Apache 2.0", |
72 keywords="wiki mercurial hg git", | 72 keywords="wiki mercurial hg git", |
73 packages=find_packages(exclude=["tests"]), | 73 packages=find_packages(exclude=["tests"]), |
74 install_requires=[ | 74 install_requires=[ |
75 'Flask>=0.10', | 75 'Flask==0.10.1', |
76 'Flask-Login>=0.1.3', | 76 'Flask-Bcrypt==0.5.2', |
77 'Flask-SQLAlchemy>=1.0', | 77 'Flask-Login==0.2.10', |
78 'Flask-Script>=0.5.1', | 78 'Flask-Script==0.5.1', |
79 'Jinja2>=2.6', | 79 'Jinja2==2.7.2', |
80 'Markdown>=2.2.1', | 80 'Markdown==2.2.1', |
81 'PyYAML>=3.10', | 81 'Pygments==1.6', |
82 'Pygments>=1.5', | 82 'SQLAlchemy==0.9.3', |
83 'SQLAlchemy>=0.8.3', | 83 'Whoosh==2.5.5', |
84 'Werkzeug>=0.8.3', | 84 'colorama==0.2.7', |
85 'Whoosh>=2.4.1', | 85 'py-bcrypt==0.2', |
86 'argparse>=1.2.1', | 86 'pysqlite==2.6.3', |
87 'pybars>=0.0.4', | 87 'pytest==2.5.2', |
88 'python-hglib', | 88 'repoze.lru==0.6', |
89 'twill>=0.9', | 89 'python-hglib'], |
90 'wsgiref>=0.1.2' | |
91 ], | |
92 scripts=['wk.py'], | |
93 include_package_data=True, | 90 include_package_data=True, |
94 package_data={ | 91 package_data={ |
95 'wikked': [ | 92 'wikked': [ |
96 'resources/*', | 93 'resources/defaults.cfg', |
94 'resources/hg_log.style', | |
95 'resources/init/*', | |
97 'templates/*.html', | 96 'templates/*.html', |
98 'static/bootstrap/fonts/*', | 97 'static/bootstrap/fonts/*', |
99 'static/css/wikked.min.css', | 98 'static/css/wikked.min.css', |
100 'static/img/*.png', | 99 'static/img/*.png', |
101 'static/js/require.js', | 100 'static/js/require.js', |
113 'Operating System :: Microsoft :: Windows', | 112 'Operating System :: Microsoft :: Windows', |
114 'Programming Language :: Python', | 113 'Programming Language :: Python', |
115 ], | 114 ], |
116 entry_points={ | 115 entry_points={ |
117 'console_scripts': [ | 116 'console_scripts': [ |
118 'wk = wikked.witch:main' | 117 'wk = wikked.witch:real_main' |
119 ] | 118 ] |
120 }, | 119 }, |
121 ) | 120 ) |
122 | 121 |