-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·56 lines (44 loc) · 2.15 KB
/
setup.py
File metadata and controls
executable file
·56 lines (44 loc) · 2.15 KB
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
50
51
52
53
54
#!/usr/bin/env python
#
# Copyright (c) 2016, 2017 Timothy Savannah under terms of LGPLv3. You should have received a copy of this with this distribution as "LICENSE"
#vim: set ts=4 sw=4 expandtab
import os
from setuptools import setup
if __name__ == '__main__':
dirName = os.path.dirname(__file__)
if dirName and os.getcwd() != dirName:
os.chdir(dirName)
summary = 'Python module for an atomic named interprocess lock which is local to the machine.'
try:
with open('README.rst', 'rt') as f:
long_description = f.read()
except Exception as e:
sys.stderr.write('Exception when reading long description: %s\n' %(str(e),))
long_description = summary
setup(name='NamedAtomicLock',
version='1.1.3',
packages=['NamedAtomicLock'],
author='Tim Savannah',
author_email='kata198@gmail.com',
maintainer='Tim Savannah',
url='https://github.com/kata198/NamedAtomicLock',
maintainer_email='kata198@gmail.com',
description=summary,
long_description=long_description,
license='LGPLv3',
keywords=['lock', 'named', 'atomic', 'mkdir', 'posix', 'acquire', 'release'],
classifiers=['Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)