Klaus Demo ~jonashaag/klaus / 51094d7
Fuck this whole distutils setuptools distribute distutils2 pip python setup.py package_data data_files MANIFEST shit fuck Jonas Haag 9 years ago
1 changed file(s) with 6 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
00 # encoding: utf-8
11
22 import glob
3 from distutils.core import setup
3 from setuptools import setup
44
55
66 def install_data_files_hack():
1414
1515 install_data_files_hack()
1616
17 requires = ['flask', 'pygments', 'dulwich(>=0.8.6)', 'httpauth']
17 requires = ['flask', 'pygments', 'dulwich>=0.8.6', 'httpauth']
1818
1919 try:
2020 import argparse # not available for Python 2.6
2424
2525 setup(
2626 name='klaus',
27 version='0.2',
27 version='0.2.0',
2828 author='Jonas Haag',
2929 author_email='jonas@lophus.org',
3030 packages=['klaus'],
3131 scripts=['bin/klaus'],
32 data_files=[
33 ['klaus/templates', glob.glob('klaus/templates/*')],
34 ['klaus/static', glob.glob('klaus/static/*')],
35 ],
32 include_package_data=True,
33 zip_safe=False,
3634 url='https://github.com/jonashaag/klaus',
3735 description='The first Git web viewer that Just Works™.',
3836 long_description=__doc__,
4846 "Programming Language :: Python :: 2.6",
4947 "Programming Language :: Python :: 2.7",
5048 ],
51 requires=requires,
49 install_requires=requires,
5250 )
5351