-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
37 lines (34 loc) · 1.18 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
import setuptools
from pathlib import Path
memoryboard_module = [
setuptools.Extension(
'extrainterpreters._memoryboard', sources=['src/extrainterpreters/memoryboard.c'],
include_dirs=[],
extra_compile_args=['-O3',],
language='c'
)
]
setuptools.setup(
name="extrainterpreters",
version="0.2-alpha1",
author="João S. O. Bueno",
author_email="gwidion@gmail.com",
description="Utilities for concurrent code using subinterpreters",
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/jsbueno/extrainterpreters",
packages=setuptools.find_packages(where="src"),
ext_modules=memoryboard_module,
package_dir={'': 'src'},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
],
python_requires='>=3.12-alpha',
tests_require=['pytest'],
setup_requires=['pytest-runner'],
install_requires=[ 'wheel'],
)