-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·41 lines (37 loc) · 1 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
#!/usr/bin/env python
"""
PyCTree is a collection of tree-based containers for Python, written in C.
"""
from distutils.core import Extension, setup
from pathlib import Path
# The PyCTree module definition
pyctreemodule = Extension(
name="pyctree",
sources=["src/pyctreemodule.c",
"src/pyctree_tree.c",
"src/pyctree_sorted_set.c",
"src/tree.c"],
include_dirs=["include/"]
)
# Get README content
readme_path = Path(__file__).parent / "README.md"
# Setup PyCTree package
setup(
name="pyctree",
version="0.1.8",
description=__doc__,
long_description=readme_path.read_text(),
author="Andrea Mecchia",
author_email="[email protected]",
url="https://github.com/sneppy/pyctree",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
ext_modules=[pyctreemodule]
)