Skip to content

Commit af47e45

Browse files
committed
Bump version to 0.0.2
1 parent 2623c68 commit af47e45

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

setup.py

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,47 @@
1010

1111
import sys
1212

13-
__version__ = "0.0.1"
13+
__version__ = "0.0.2"
1414

1515
is_64bits = sys.maxsize > 2**32
1616

1717
spout_lib_base_dir = "vendor/SpoutGL/Binaries"
18-
spout_lib_dir = os.path.join(spout_lib_base_dir, "x64" if is_64bits else "Win32")
18+
spout_lib_dir = os.path.join(
19+
spout_lib_base_dir, "x64" if is_64bits else "Win32")
1920

2021
ext_modules = [
2122
Pybind11Extension("SpoutGL._spoutgl",
22-
# Note:
23-
# Sort input source files if you glob sources to ensure bit-for-bit
24-
# reproducible builds (https://github.com/pybind/python_example/pull/53)
25-
["src/PySpoutGL.cpp"],
26-
27-
# Pass in the version to the compiled code
28-
define_macros = [('VERSION_INFO', __version__)],
29-
30-
cxx_std = 17,
31-
include_dirs = ['vendor/SpoutGL'],
32-
libraries = ['spout'],
33-
library_dirs = [spout_lib_dir],
34-
35-
# Generate VS pdb symbols for debugging
36-
#extra_link_args=["/DEBUG:FULL"]
37-
),
23+
# Note:
24+
# Sort input source files if you glob sources to ensure bit-for-bit
25+
# reproducible builds (https://github.com/pybind/python_example/pull/53)
26+
["src/PySpoutGL.cpp"],
27+
28+
# Pass in the version to the compiled code
29+
define_macros=[('VERSION_INFO', __version__)],
30+
31+
cxx_std=17,
32+
include_dirs=['vendor/SpoutGL'],
33+
libraries=['spout'],
34+
library_dirs=[spout_lib_dir],
35+
36+
# Generate VS pdb symbols for debugging
37+
# extra_link_args=["/DEBUG:FULL"]
38+
),
3839
]
3940

4041
HERE = pathlib.Path(__file__).parent
4142
README = (HERE / "README.md").read_text()
4243

44+
4345
class CopyDllsAndBuildCommand(BuildCommand):
4446
"""Copies arch-specific DLLs to the SpoutGL package directory"""
4547

4648
def run(self):
47-
shutil.copyfile(os.path.join(spout_lib_dir, "Spout.dll"), "src/SpoutGL/Spout.dll")
49+
shutil.copyfile(os.path.join(spout_lib_dir, "Spout.dll"),
50+
"src/SpoutGL/Spout.dll")
4851
super().run()
4952

53+
5054
setup(
5155
name="SpoutGL",
5256
version=__version__,
@@ -56,15 +60,15 @@ def run(self):
5660
description="Wrapper around Spout frame streaming library for Windows",
5761
long_description=README,
5862
long_description_content_type="text/markdown",
59-
63+
6064
classifiers=[
6165
"Development Status :: 3 - Alpha",
6266
"Operating System :: Microsoft :: Windows",
6367
"License :: OSI Approved :: BSD License",
6468
"Topic :: Multimedia :: Graphics :: Capture",
6569
"Topic :: Multimedia :: Graphics :: Viewers"
6670
],
67-
71+
6872
ext_modules=ext_modules,
6973
extras_require={"test": []},
7074
cmdclass={

0 commit comments

Comments
 (0)