Skip to content

Commit 33d098e

Browse files
committed
Use "python setup.py develop" instead of "python setup.py install"
1 parent 61f33b0 commit 33d098e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ addons:
88
install:
99
- "pip install --upgrade pip"
1010
- "pip install -r requirements.txt"
11-
- "python setup.py install"
11+
- "python setup.py develop"
1212
- "sudo rm -f /etc/boto.cfg"
1313
before_script:
1414
- "flake8 seleniumbase/*.py"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ COPY setup.py /SeleniumBase/setup.py
101101
RUN pip install --upgrade pip
102102
RUN pip install --upgrade setuptools
103103
RUN cd /SeleniumBase && ls && pip install -r requirements.txt --upgrade
104-
RUN cd /SeleniumBase && python setup.py install
104+
RUN cd /SeleniumBase && python setup.py develop
105105

106106
#==========================================
107107
# Create entrypoint and grab example tests

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To install a clone of SeleniumBase, use:
4646
```bash
4747
pip install -r requirements.txt --upgrade
4848

49-
python setup.py install
49+
python setup.py develop
5050
```
5151
(<i>Repeat this step if you make changes to [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py) or to SeleniumBase libraries. If you're installing SeleniumBase on a machine that uses an older version of Firefox, such as version 46 or earlier, use `server_requirements.txt` and `server_setup.py`.</i>)
5252

@@ -112,7 +112,7 @@ pytest my_first_test.py --with-selenium --browser=chrome --demo_mode
112112

113113
You can override the default wait time by either updating [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py) or by using ``--demo_sleep={NUM}`` when using Demo Mode. (NOTE: If you use ``--demo_sleep={NUM}`` without using ``--demo_mode``, nothing will happen.)
114114

115-
If you ever make any changes to your local copy of ``settings.py``, you may need to run ``python setup.py install`` for those changes to take effect.
115+
If you ever make any changes to your local copy of ``settings.py``, you may need to run ``python setup.py develop`` for those changes to take effect.
116116

117117
```bash
118118
nosetests my_first_test.py --with-selenium --browser=chrome --demo_mode --demo_sleep=1.2

0 commit comments

Comments
 (0)