Closed kefeimo closed 1 year ago
Resolve issue #33
Tested locally on Python 3.8, 3.9, 3.10, 3.11. The following shows the successful log of 3.11
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3opendnp3.cpp.o [ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3openpal.cpp.o [100%] Linking CXX shared module /home/kefei/project/dnp3-python/build/lib.linux-x86_64-cpython-311/pydnp3.cpython-311-x86_64-linux-gnu.so [100%] Built target pydnp3 /home/kefei/miniconda3/envs/dnp3py311/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/dnp3_python creating build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/dnp3station/station_utils.py -> build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/dnp3station/visitors.py -> build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/dnp3station/__init__.py -> build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/dnp3station/outstation_new.py -> build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/dnp3station/master_new.py -> build/bdist.linux-x86_64/wheel/dnp3_python/dnp3station copying build/lib.linux-x86_64-cpython-311/dnp3_python/__init__.py -> build/bdist.linux-x86_64/wheel/dnp3_python copying build/lib.linux-x86_64-cpython-311/pydnp3.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/control_workflow_demo.py -> build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/data_retrieval_demo.py -> build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/run_master.py -> build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/multi_stations_demo.py -> build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/run_outstation.py -> build/bdist.linux-x86_64/wheel/dnp3demo copying build/lib.linux-x86_64-cpython-311/dnp3demo/__main__.py -> build/bdist.linux-x86_64/wheel/dnp3demo running install_egg_info running egg_info writing src/dnp3_python.egg-info/PKG-INFO writing dependency_links to src/dnp3_python.egg-info/dependency_links.txt writing entry points to src/dnp3_python.egg-info/entry_points.txt writing requirements to src/dnp3_python.egg-info/requires.txt writing top-level names to src/dnp3_python.egg-info/top_level.txt reading manifest file 'src/dnp3_python.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/dnp3_python.egg-info/SOURCES.txt' Copying src/dnp3_python.egg-info to build/bdist.linux-x86_64/wheel/dnp3_python-0.2.3b3-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/dnp3_python-0.2.3b3.dist-info/WHEEL creating 'dist/dnp3_python-0.2.3b3-cp311-cp311-manylinux1_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pydnp3.cpython-311-x86_64-linux-gnu.so' adding 'dnp3_python/__init__.py' adding 'dnp3_python/dnp3station/__init__.py' adding 'dnp3_python/dnp3station/master_new.py' adding 'dnp3_python/dnp3station/outstation_new.py' adding 'dnp3_python/dnp3station/station_utils.py' adding 'dnp3_python/dnp3station/visitors.py' adding 'dnp3demo/__main__.py' adding 'dnp3demo/control_workflow_demo.py' adding 'dnp3demo/data_retrieval_demo.py' adding 'dnp3demo/multi_stations_demo.py' adding 'dnp3demo/run_master.py' adding 'dnp3demo/run_outstation.py' adding 'dnp3_python-0.2.3b3.dist-info/LICENSE' adding 'dnp3_python-0.2.3b3.dist-info/METADATA' adding 'dnp3_python-0.2.3b3.dist-info/WHEEL' adding 'dnp3_python-0.2.3b3.dist-info/entry_points.txt' adding 'dnp3_python-0.2.3b3.dist-info/top_level.txt' adding 'dnp3_python-0.2.3b3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel
Resolve issue #33
Tested locally on Python 3.8, 3.9, 3.10, 3.11. The following shows the successful log of 3.11