selenext icon indicating copy to clipboard operation
selenext copied to clipboard

adds installer and updates readme

Open jasonhamilton opened this issue 8 years ago • 7 comments

jasonhamilton avatar Dec 20 '16 22:12 jasonhamilton

@jasonhamilton With this branch you have to change import statements to be from selenext.selenext.Helpers import Page instead of from selenext.Helpers import Page. Is this intentional?

RattleyCooper avatar Dec 20 '16 23:12 RattleyCooper

It looks like it wasn't adding the submodules. Now it is. I wasn't intending to change the import structure. Basically the setup.py should copy everything in the selenext subfolder to the site-packages for you and in the process install all dependencies specified in setup.py. I went ahead and just added another commit that pulls in the submodules in the installed folder.

jasonhamilton avatar Dec 20 '16 23:12 jasonhamilton

So, if you were installing it manually, you should just need to copy the subfolder to your site-packages. Most people will prefer not to deal with the installation and dependencies, so setup.py allows new users to install quickly. All other functionality should stay the same.

jasonhamilton avatar Dec 20 '16 23:12 jasonhamilton

@jasonhamilton Gotcha. Let me get everything tested out and merged.

RattleyCooper avatar Dec 20 '16 23:12 RattleyCooper

@jasonhamilton What am I missing? I'm not used to installing packages like this.. I run python setup.py install and even using python3, but for some reason the library cannot be found now.

RattleyCooper avatar Dec 20 '16 23:12 RattleyCooper

@jasonhamilton Oh you know what. My mac is set up to use python from a different folder than the default. I'll have to see if I can set it up to install to an alternate site-packages folder.

RattleyCooper avatar Dec 20 '16 23:12 RattleyCooper

@jasonhamilton I'll have to work on this later. I have a bunch of things I have to get done in the next couple hours. I'm just nervous about merging it when I haven't been able to test it myself.

RattleyCooper avatar Dec 20 '16 23:12 RattleyCooper