Skip to content

Commit 839d45c

Browse files
author
Boyu Fang
committed
bump to 1.0.6 with fix to source distro
1 parent 970d32a commit 839d45c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
recursive-include include *
12
recursive-include third_party *

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pytomlpp
3-
version = 1.0.5
3+
version = 1.0.6
44
author = Bob Fang
55
author_email = [email protected]
66
license_file = LICENSE

setup.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env python3
22

3+
import os
4+
import glob
35
import platform
46
from setuptools import setup, Extension
57

8+
dir_path = os.path.dirname(os.path.realpath(__file__))
69

710
class PyBind11Include:
811
def __str__(self):
912
import pybind11
10-
1113
return pybind11.get_include()
1214

1315

@@ -24,8 +26,8 @@ def __str__(self):
2426
'pytomlpp._impl',
2527
['src/pytomlpp.cpp', 'src/type_casters.cpp', 'src/encoding_decoding.cpp'],
2628
include_dirs=[
27-
'include',
28-
'third_party',
29+
dir_path + '/include',
30+
dir_path + '/third_party',
2931
PyBind11Include(),
3032
],
3133
extra_compile_args=extra_compile_args,

0 commit comments

Comments
 (0)