Skip to content

Commit 2fed941

Browse files
committed
Set module version to v0.1.0
1 parent 4ff7eb9 commit 2fed941

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

setup.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from setuptools import setup, Extension
1212
from setuptools.command.build_ext import build_ext
13-
import os, pathlib, subprocess
13+
import os
1414

1515
# Add cmake_lists_dir to Extension
1616
class CMakeExtension(Extension):
@@ -51,7 +51,7 @@ def build_extensions(self):
5151
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(build_type.upper(), lib_temp),
5252
# Other intermediate static libraries are placed in a temporary build directory instead
5353
'-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_{}={}'.format(build_type.upper(), self.build_temp),
54-
# In this example, we pass in the version to C++. You might not need to.
54+
# VERSION_INFO is defined in setup() and passed into the C++ here
5555
'-DVERSION_INFO={}'.format(self.distribution.get_version())
5656
]
5757

@@ -67,11 +67,9 @@ def build_extensions(self):
6767
subprocess.check_call(['cmake', '--build', '.', '--config', build_type], cwd=self.build_temp )
6868
print ("CMake build done!\n")
6969

70-
71-
7270
setup(
7371
name="pyRCSwitch",
74-
version="1.0.0",
72+
version="0.1.0",
7573
author="Jorge Rivera",
7674
author_email="[email protected]",
7775
description="Python module to wrap the RCSwitch Common Library",
@@ -87,7 +85,7 @@ def build_extensions(self):
8785
"Intended Audience :: Developers",
8886
"Intended Audience :: Science/Research",
8987
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
90-
"Programming Language :: C",
88+
"Programming Language :: C++",
9189
"Programming Language :: Python",
9290
"Programming Language :: Python :: 3",
9391
"Programming Language :: Python :: 3 :: Only",

0 commit comments

Comments
 (0)