0
|
1 import os
|
|
2 from setuptools import setup
|
|
3
|
|
4
|
|
5 root_dir = os.path.dirname(__file__)
|
|
6 with open(os.path.join(root_dir, 'version.txt'), 'r') as fp:
|
|
7 version = fp.read().strip()
|
|
8
|
|
9 with open(os.path.join(root_dir, 'README.rst'), 'r') as fp:
|
|
10 description = fp.read()
|
|
11
|
|
12
|
|
13 setup(name='PieCrust-Hoedown',
|
|
14 version=version,
|
|
15 url='http://bolt80.com/piecrust',
|
|
16 license='Apache2',
|
|
17 author='Ludovic Chabant',
|
|
18 author_email='ludovic@chabant.com',
|
|
19 description=('Hoedown Markdown formatter for PieCrust '
|
|
20 'via Misaka'),
|
|
21 long_description=description,
|
|
22 py_modules=['piecrust_hoedown'],
|
|
23 zip_safe=False,
|
|
24 install_requires=[
|
|
25 'PieCrust>=2.0.0',
|
|
26 'misaka>=2.1.0'],
|
|
27 classifiers=[
|
|
28 'Development Status :: 3 - Alpha',
|
|
29 'Environment :: Console',
|
|
30 'Intended Audience :: Developers',
|
|
31 'License :: OSI Approved :: Apache Software License',
|
|
32 'Natural Language :: English',
|
|
33 'Operating System :: MacOS :: MacOS X',
|
|
34 'Operating System :: POSIX :: Linux',
|
|
35 'Operating System :: Microsoft :: Windows',
|
|
36 'Programming Language :: Python',
|
|
37 'Programming Language :: Python :: 3'])
|
|
38
|