Mercurial > hatta
annotate setup.py @ 2491:c7b397a38422 default tip
Make it work with newer pygments
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 10 Mar 2019 19:33:33 +0100 |
| parents | 9db8b44e4b41 |
| children |
| rev | line source |
|---|---|
| 179 | 1 #!/usr/bin/env python |
| 2 # -*- coding: utf-8 -*- | |
| 3 | |
|
2325
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
4 import setuptools |
|
493
5aa676d1ceea
Added missing binary file for es.
Cezary Krzyżanowski <cezary.krzyzanowski@gmail.com>
parents:
478
diff
changeset
|
5 |
|
496
1d469119cb8a
A big if checking current platform and applying relevant code.
Cezary Krzyżanowski <cezary.krzyzanowski@gmail.com>
parents:
493
diff
changeset
|
6 |
|
2325
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
7 setuptools.setup( |
|
2349
6398f91b55f7
Prevent config from failing when there is no config file
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2344
diff
changeset
|
8 name='Hatta', |
|
2479
9db8b44e4b41
Version 1.6.7
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2473
diff
changeset
|
9 version='1.6.7', |
| 179 | 10 license='GNU General Public License (GPL)', |
| 11 author='Radomir Dopieralski', | |
| 12 author_email='hatta@sheep.art.pl', | |
| 13 keywords='wiki wsgi web mercurial repository', | |
|
2305
d8a3abd03a7e
fix setup.py to match the new code structure
Radomir Dopieralski <sheep@stxnext.pl>
parents:
781
diff
changeset
|
14 packages=['hatta'], |
|
2325
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
15 install_requires=[ |
|
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
16 'werkzeug >=0.3', |
|
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
17 'mercurial >=1.0', |
|
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
18 'jinja2', |
|
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
19 ], |
|
2375
822d0c287530
Bump version to 1.5.4
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2366
diff
changeset
|
20 tests_require=['py.test', 'lxml', 'pygments'], |
| 179 | 21 data_files=[ |
| 22 ('share/locale/ar/LC_MESSAGES', ['locale/ar/LC_MESSAGES/hatta.mo']), | |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
23 ('share/locale/cs/LC_MESSAGES', ['locale/cs/LC_MESSAGES/hatta.mo']), |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
24 ('share/locale/da/LC_MESSAGES', ['locale/da/LC_MESSAGES/hatta.mo']), |
| 283 | 25 ('share/locale/de/LC_MESSAGES', ['locale/de/LC_MESSAGES/hatta.mo']), |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
26 ('share/locale/el/LC_MESSAGES', ['locale/el/LC_MESSAGES/hatta.mo']), |
|
496
1d469119cb8a
A big if checking current platform and applying relevant code.
Cezary Krzyżanowski <cezary.krzyzanowski@gmail.com>
parents:
493
diff
changeset
|
27 ('share/locale/es/LC_MESSAGES', ['locale/es/LC_MESSAGES/hatta.mo']), |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
28 ('share/locale/et/LC_MESSAGES', ['locale/et/LC_MESSAGES/hatta.mo']), |
|
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
29 ('share/locale/fi/LC_MESSAGES', ['locale/fi/LC_MESSAGES/hatta.mo']), |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
30 ('share/locale/fr/LC_MESSAGES', ['locale/fr/LC_MESSAGES/hatta.mo']), |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
31 ('share/locale/hu/LC_MESSAGES', ['locale/hu/LC_MESSAGES/hatta.mo']), |
|
311
95403de86d5f
setup for py2exe, small mistake in setup.py
sheep@ghostwheel
parents:
283
diff
changeset
|
32 ('share/locale/ja/LC_MESSAGES', ['locale/ja/LC_MESSAGES/hatta.mo']), |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
33 ('share/locale/lt/LC_MESSAGES', ['locale/lt/LC_MESSAGES/hatta.mo']), |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
34 ('share/locale/pl/LC_MESSAGES', ['locale/pl/LC_MESSAGES/hatta.mo']), |
|
2445
001b8ba6ed0d
correct setup.py for russian translation // edited online with Bitbucket
Denis Kvist <denvist@ya.ru>
parents:
2433
diff
changeset
|
35 ('share/locale/ru/LC_MESSAGES', ['locale/ru/LC_MESSAGES/hatta.mo']), |
| 283 | 36 ('share/locale/sv/LC_MESSAGES', ['locale/sv/LC_MESSAGES/hatta.mo']), |
|
2458
9c7f693e11d5
Fix #105, wrong paths to locale files in setup.py
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2456
diff
changeset
|
37 ('share/locale/vi/LC_MESSAGES', ['locale/vi/LC_MESSAGES/hatta.mo']), |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
38 ('share/doc/hatta/examples', [ |
|
2472
75d28750ee96
updated setup.py according to new scripts in examples dir (fixes install target too)
Vlad Glagolev <scm@vaygr.net>
parents:
2458
diff
changeset
|
39 'examples/hatta.fcgi', |
|
75d28750ee96
updated setup.py according to new scripts in examples dir (fixes install target too)
Vlad Glagolev <scm@vaygr.net>
parents:
2458
diff
changeset
|
40 'examples/hatta.gzip.fcgi', |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
41 'examples/hatta.wsgi', |
|
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
42 'examples/extend_parser.py' |
|
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
43 ]), |
| 179 | 44 ], |
|
2318
d0b4daab0fab
#67 fix MANIFEST.in, add include_package_data to setup.py
Radomir Dopieralski <sheep@stxnext.pl>
parents:
2305
diff
changeset
|
45 include_package_data=True, |
|
2325
c63148a8493d
Move the hatta-icon code and resources to a separate project.
Radomir Dopieralski <sheep-devel@sheep.art.pl>
parents:
2318
diff
changeset
|
46 zip_safe=True, |
| 179 | 47 platforms='any', |
| 48 classifiers=[ | |
| 49 'License :: OSI Approved :: GNU General Public License (GPL)', | |
| 50 'Intended Audience :: Developers', | |
| 51 'Intended Audience :: End Users/Desktop', | |
| 52 'Intended Audience :: System Administrators', | |
| 53 'Topic :: Communications', | |
| 54 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | |
| 55 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', | |
| 56 'Programming Language :: Python', | |
| 57 'Operating System :: OS Independent', | |
| 58 'Environment :: Web Environment', | |
|
478
45348adfeb05
clean up setup scripts, move examples to examples directory
sheep@ghostwheel
parents:
311
diff
changeset
|
59 ], |
| 504 | 60 ) |
