]> git.phdru.name Git - m_lib.git/blob - setup.py
Use int() instead of atoi() for Py3 compatibility
[m_lib.git] / setup.py
1 #! /usr/bin/env python
2
3 try:
4     from ez_setup import use_setuptools
5     use_setuptools()
6     from setuptools import setup
7     is_setuptools = True
8 except ImportError:
9     from distutils.core import setup
10     is_setuptools = False
11
12 kw = {}
13 if is_setuptools:
14     kw['extras_require'] = {
15         'Metakit': ['Mk4py'],
16         'ZODB': ['ZODB'],
17         'mx': ['mx.DateTime', 'mx.Misc'],
18         }
19
20 setup(name = "m_lib",
21     version = "2.1.3",
22     description = "Broytman Library for Python",
23     long_description = "Broytman Library for Python, Copyright (C) 1996-2016 PhiloSoft Design",
24     author = "Oleg Broytman",
25     author_email = "phd@phdru.name",
26     url = "http://phdru.name/Software/Python/#m_lib",
27     license = "GPL",
28     keywords=[''],
29     classifiers=[
30         'Development Status :: 6 - Mature',
31         'Intended Audience :: Developers',
32         'License :: OSI Approved :: GNU General Public License (GPL)',
33         'Operating System :: OS Independent',
34         'Programming Language :: Python :: 2',
35         'Programming Language :: Python :: 2.6',
36         'Programming Language :: Python :: 2.7',
37         'Programming Language :: Python :: 2 :: Only',
38         'Topic :: Software Development :: Libraries',
39         'Topic :: Software Development :: Libraries :: Python Modules',
40     ],
41     platforms = "All",
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     **kw
48 )