wewa00 / modbus-tk

Automatically exported from code.google.com/p/modbus-tk
Other
0 stars 0 forks source link

windows install missing directory modbus-tk #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install on Win7

What is the expected output? What do you see instead?
Only egg file is installed in site-packages folder.
Expected fo;lder copy from build to also be copied.

What version of the product are you using? On what operating system?
0.4.2 win 7 

Please provide any additional information below.

I am on Win7 64 but using python 2.7 32bit.
I have installed from the unzipped folder using "python setp.py install".
This ran successfully and generated a single file modbus_tk-0.4-py2.7.egg which 
it installed in my python2.7/Lib/site-packages folder.
But I was expecting to see a pyd or a folder of py files...

Typing import modbus_tk at python prompt fails with "No module named modbus_tk" 
error message.

So I looked under my separate unzipped folder. In there I see a 
build/lib/modbus_tk folder. This is the folder I expected to see under the 
site-packages folder.
I copied that folder into site-packages and now it works.

Should your installer copy this directory too ?

Original issue reported on code.google.com by neon.m...@gmail.com on 20 Aug 2012 at 11:37

GoogleCodeExporter commented 8 years ago
This should be fixed on github. I think it was caused by bad imports

Original comment by luc.jean@gmail.com on 29 Apr 2015 at 9:51