]> git.phdru.name Git - m_librarian.git/blob - setup.py
Fix(setup): Fix keywords and platforms
[m_librarian.git] / setup.py
1 #!/usr/bin/env python
2
3 from imp import load_source
4 from os.path import abspath, dirname, join
5
6 try:
7     from setuptools import setup
8 except ImportError:
9     from distutils.core import setup
10
11 versionpath = join(abspath(dirname(__file__)), 'm_librarian', '__version__.py')
12 load_source('m_librarian_version', versionpath)
13 # Ignore: E402 module level import not at top of file
14 from m_librarian_version import __version__  # noqa
15
16 setup(name='m_librarian',
17       version=__version__,
18       description='m_Librarian for LibRusEc/Flibusta libraries',
19       long_description=open('README.txt', 'rtU').read(),
20       author='Oleg Broytman',
21       author_email='phd@phdru.name',
22       url='http://phdru.name/Software/Python/m_librarian/',
23       license='GPL',
24       keywords=['books', 'library', 'Flibusta', 'LibRusEc', 'lib.rus.ec'],
25       platforms="Any",
26       classifiers=[
27           'Development Status :: 2 - Pre-Alpha',
28           'Environment :: Console',
29           'Intended Audience :: End Users/Desktop',
30           'License :: OSI Approved :: GNU General Public License (GPL)',
31           'Natural Language :: English',
32           'Natural Language :: Russian',
33           'Operating System :: POSIX',
34           'Programming Language :: Python :: 2',
35           'Programming Language :: Python :: 2.7',
36           'Programming Language :: Python :: 3',
37           'Programming Language :: Python :: 3.4',
38           'Programming Language :: Python :: 3.5',
39           'Programming Language :: Python :: 3.6',
40       ],
41       packages=['m_librarian'],
42       package_data={'m_librarian': [
43           'glst/*.txt', 'glst/genres_*.glst',
44           'translations/*.mo'
45           ]
46       },
47       scripts=['scripts/ml-import.py', 'scripts/ml-initdb.py',
48                'scripts/ml-search.py'],
49       )