smc-python icon indicating copy to clipboard operation
smc-python copied to clipboard

"Improper" package name

Open stdedos opened this issue 7 years ago • 5 comments

PyCharm gives: image

According to https://stackoverflow.com/questions/2852283/python-naming-a-module-that-has-a-two-word-name we should either go smc_python (or smcpython altogether).

It is of course up to you to decide whichever avenue you'd like to go to (or not go altogether), but there is already a smc package: https://pypi.org/project/smc/ and it clashes when writing requirements.txt file

stdedos avatar Apr 26 '18 10:04 stdedos

I think this is ok to do and makes sense. Let me give it some thought as it will obviously break imports for existing projects.

gabstopper avatar Apr 26 '18 13:04 gabstopper

Well.. you are still on 0.x, so it is "okay".

No one likes that, but, I'd much rather have a clean interface (and a loud warning), rather than anything else

stdedos avatar Apr 26 '18 14:04 stdedos

Any update on this?

df-cgdm avatar Jun 22 '18 14:06 df-cgdm

Since this affects compatibility with existing implementations, I will address this in the 0.7.0 release along with support for either SMC 6.4.2 or 6.5.

gabstopper avatar Jun 25 '18 14:06 gabstopper

You can also use a scheme like this: https://github.com/robotframework/Selenium2Library/blob/master/src/Selenium2Library/init.py to ease the transition.

Basically, installing the package will install 2 packages: smc_python, and smc that points to smc_python

stdedos avatar May 29 '19 07:05 stdedos