comparison setup.py @ 161:f307d4cdc3fb

Setup Wikked Pypi package: - Moved all assets into `wikked/assets` for proper packaging. - Added `setuptools` stuff.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 10 Jan 2014 23:12:10 -0800
parents
children 81e39ae8aef0
comparison
equal deleted inserted replaced
160:3ef7b9dca1f8 161:f307d4cdc3fb
1 import os
2 import os.path
3 from setuptools import setup, find_packages
4
5
6 def read(fname):
7 with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
8 return fp.read()
9
10
11 setup(
12 name='Wikked',
13 version='0.1.0.0',
14 description=("A wiki engine entirely managed with text files "
15 "stored in a revision control system."),
16 author='Ludovic Chabant',
17 author_email='ludovic@chabant.com',
18 url="http://bolt80.com/wikked/",
19 license="Apache 2.0",
20 keywords="wiki mercurial hg git",
21 packages=find_packages(exclude=["tests"]),
22 install_requires=[
23 'Flask>=0.10',
24 'Flask-Login>=0.1.3',
25 'Flask-SQLAlchemy>=1.0',
26 'Flask-Script>=0.5.1',
27 'Jinja2>=2.6',
28 'Markdown>=2.2.1',
29 'PyYAML>=3.10',
30 'Pygments>=1.5',
31 'SQLAlchemy>=0.8.3',
32 'Werkzeug>=0.8.3',
33 'Whoosh>=2.4.1',
34 'argparse>=1.2.1',
35 'pybars>=0.0.4',
36 'python-hglib>=1.0',
37 'twill>=0.9',
38 'wsgiref>=0.1.2'
39 ],
40 scripts=['wk.py'],
41 include_package_data=True,
42 package_data={
43 'wikked': [
44 'templates/*.html',
45 'static/css/wikked.min.css',
46 'static/img/*.png',
47 'static/js/require.js',
48 'static/js/wikked.min.js'
49 ]
50 },
51 zip_safe=False,
52 classifiers=[
53 'Development Status :: 3 - Alpha',
54 'License :: OSI Approved :: Apache Software License',
55 'Environment :: Console',
56 'Operating System :: MacOS :: MacOS X',
57 'Operating System :: Unix',
58 'Operating System :: POSIX',
59 'Operating System :: Microsoft :: Windows',
60 'Programming Language :: Python',
61 ],
62 entry_points={
63 'console_scripts': [
64 'wk = wk:main'
65 ]
66 },
67 )
68