-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
44 lines (38 loc) · 1.2 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
import setuptools
from Cython.Build import cythonize
from setuptools import setup, Extension
extensions = [
Extension(
name='faster_fifo',
sources=['faster_fifo.pyx', 'cpp_faster_fifo/cpp_lib/faster_fifo.cpp'],
language='c++',
extra_compile_args=['-std=c++11'],
include_dirs=['cpp_faster_fifo/cpp_lib'],
),
]
with open('README.md', 'r') as fh:
long_description = fh.read()
setup(
# Information
name='faster-fifo',
version='1.4.7',
url='https://github.com/alex-petrenko/faster-fifo',
author='Aleksei Petrenko & Tushar Kumar',
license='MIT',
keywords='multiprocessing data structures',
description='A faster alternative to Python\'s standard multiprocessing.Queue (IPC FIFO queue)',
long_description=long_description,
long_description_content_type='text/markdown',
# Build instructions
ext_modules=cythonize(extensions),
install_requires=[
'setuptools>=45.2.0',
'cython>=0.29'
],
extras_require={
'dev': ['twine', 'numpy>=1.18.1,<2.0'],
},
python_requires='>=3.6',
packages=setuptools.find_packages(where='./', include='faster_fifo*'),
# install_requires=["pip>=19.3"],
)