Skip to content

Commit

Permalink
bump to 1.0.6 with fix to source distro
Browse files Browse the repository at this point in the history
  • Loading branch information
Boyu Fang committed Nov 17, 2021
1 parent 970d32a commit 839d45c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
recursive-include include *
recursive-include third_party *
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pytomlpp
version = 1.0.5
version = 1.0.6
author = Bob Fang
author_email = [email protected]
license_file = LICENSE
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/usr/bin/env python3

import os
import glob
import platform
from setuptools import setup, Extension

dir_path = os.path.dirname(os.path.realpath(__file__))

class PyBind11Include:
def __str__(self):
import pybind11

return pybind11.get_include()


Expand All @@ -24,8 +26,8 @@ def __str__(self):
'pytomlpp._impl',
['src/pytomlpp.cpp', 'src/type_casters.cpp', 'src/encoding_decoding.cpp'],
include_dirs=[
'include',
'third_party',
dir_path + '/include',
dir_path + '/third_party',
PyBind11Include(),
],
extra_compile_args=extra_compile_args,
Expand Down

0 comments on commit 839d45c

Please sign in to comment.