]> git.phdru.name Git - m_lib.git/blob - setup.py
Fix(setup): Fix keywords and platforms
[m_lib.git] / setup.py
1 #! /usr/bin/env python
2
3 try:
4     from setuptools import setup
5     is_setuptools = True
6 except ImportError:
7     from distutils.core import setup
8     is_setuptools = False
9
10 kw = {}
11 if is_setuptools:
12     kw['extras_require'] = {
13         'Metakit': ['Mk4py'],
14         'ZODB': ['ZODB'],
15         'mx': ['mx.DateTime', 'mx.Misc'],
16         }
17
18 setup(name = "m_lib",
19     version = "3.1.0",
20     description = "Broytman Library for Python",
21     long_description = "Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design",
22     author = "Oleg Broytman",
23     author_email = "phd@phdru.name",
24     url = "http://phdru.name/Software/Python/#m_lib",
25     license = "GPL",
26     classifiers=[
27         'Development Status :: 5 - Production/Stable',
28         'Intended Audience :: Developers',
29         'License :: OSI Approved :: GNU General Public License (GPL)',
30         'Operating System :: OS Independent',
31         'Programming Language :: Python :: 2',
32         'Programming Language :: Python :: 2.6',
33         'Programming Language :: Python :: 2.7',
34         'Programming Language :: Python :: 3',
35         'Programming Language :: Python :: 3.4',
36         'Programming Language :: Python :: 3.5',
37         'Programming Language :: Python :: 3.6',
38         'Topic :: Software Development :: Libraries',
39         'Topic :: Software Development :: Libraries :: Python Modules',
40     ],
41     platforms = "Any",
42     packages = ["m_lib", "m_lib.clock", "m_lib.flad",
43         "m_lib.hash", "m_lib.lazy",
44         "m_lib.net", "m_lib.net.ftp", "m_lib.net.www",
45         "m_lib.pbar", "m_lib.rus",
46     ],
47     namespace_packages = ["m_lib"],
48     **kw
49 )