-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
49 lines (44 loc) · 1.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env python
from distutils.core import setup
import os.path
import sys
here = os.path.dirname(__file__)
try:
# PyPI prefers the readme as .txt
with open(os.path.join(here, 'README.txt')) as file_:
long_description = file_.read()
except IOError:
# Check sdist, we *need* the README.txt in here.
# (See Makefile in the source distribution.)
if sys.argv[1:2] == ['sdist']:
raise
# We prefer it as .rst
with open(os.path.join(here, 'README.rst')) as file_:
long_description = file_.read()
setup(
name='pysigset',
# Trying to use a PEP386 and distutils.version.StrictVersion compatible
# versioning scheme here: 0.2a sorts before 0.2 and will mean
# not-exactly-0.2-yet.
version='0.4.0',
py_modules=['pysigset'],
description='Signal blocking under Linux & OS X',
long_description=long_description,
author='Walter Doekes',
author_email='[email protected]',
url='https://github.com/ossobv/pysigset',
license='LGPLv3+',
platforms=('linux', 'darwin'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
('License :: OSI Approved :: GNU Lesser General Public License v3 or '
'later (LGPLv3+)'),
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
],
)
# vim: set ts=8 sw=4 sts=4 et ai tw=79: