-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 881 Bytes
/
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
"""The setup script."""
from setuptools import setup, Extension
requirements = []
test_requirements = ["pytest>=3", ]
setup(
author="Sebastian Ziemann",
author_email="[email protected]",
python_requires=">=3.6",
description="Trial and test ground",
install_requires=requirements,
license="MIT license",
include_package_data=True,
keywords="playground",
name="playground",
py_modules=["playground"],
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/pytogo/playground",
version="0.0.1",
zip_safe=False,
# Go part
setup_requires=['setuptools-golang'],
build_golang={'root': 'github.com/pytogo/playground'},
ext_modules=[
Extension(
"_playground", ["main.go"],
py_limited_api=True, define_macros=[('Py_LIMITED_API', None)],
)
]
)