-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (19 loc) · 668 Bytes
/
setup.py
File metadata and controls
23 lines (19 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
from setuptools import setup, Extension
module = Extension('atfork_lock_release',
sources=[
'src/atfork_lock_release.c'
])
with open(os.path.join(os.path.dirname(__file__),
'README.md'), 'r') as fs:
long_description = fs.read()
setup(
name='atfork_lock_release',
version='0.1.1',
description='Module to provide access to posix pthread_atfork function '
'and resolve I/O related deadlocks while forking.',
long_description=long_description,
ext_modules=[module],
author='Daniel Birnstiel',
author_email='daniel@birne.me'
)