Skip to content

Commit ae0dd8e

Browse files
committed
Miscellaneous fixes
1 parent 2d2c422 commit ae0dd8e

5 files changed

Lines changed: 47 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
*.pyc
1010
*.egg-info
11+
README.txt
1112

1213
MANIFEST
1314

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,16 @@ There are two ways to install and use the Appium Python client.
1616
pip install Appium-Python-Client
1717
```
1818

19-
2. Install from [GitHub](https://github.com/appium/python-client).
19+
2. Install from source, via [PyPi](https://pypi.python.org/pypi). From ['Appium-Python-Client'](https://pypi.python.org/pypi/Appium-Python-Client),
20+
download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz).
21+
22+
```shell
23+
tar -xvf Appium-Python-Client-X.X.tar.gz
24+
cd Appium-Python-Client-X.X
25+
python setup.py install
26+
```
27+
28+
3. Install from source via [GitHub](https://github.com/appium/python-client).
2029

2130
```shell
2231
git clone [email protected]:appium/python-client.git

docgen.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python
2+
3+
# PyPi expects a reStructuredText (http://docutils.sourceforge.net/rst.html)
4+
# document for its readme. This takes the Github one and makes the requisite
5+
# file. Run when README.md is changed and those changes should be reflected
6+
# on PyPi.
7+
8+
import pandoc
9+
import os
10+
11+
pandoc.core.PANDOC_PATH = os.environ['PANDOC_HOME']
12+
13+
doc = pandoc.Document()
14+
doc.markdown = open('README.md').read()
15+
f = open('README.txt','w+')
16+
f.write(doc.rst)
17+
f.close()

readme_gen.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python
2+
3+
# PyPi expects a reStructuredText (http://docutils.sourceforge.net/rst.html)
4+
# document for its readme. This takes the Github one and makes the requisite
5+
# file. Run when README.md is changed and those changes should be reflected
6+
# on PyPi.
7+
8+
import pandoc
9+
import os
10+
11+
pandoc.core.PANDOC_PATH = os.environ['PANDOC_HOME']
12+
13+
doc = pandoc.Document()
14+
doc.markdown = open('README.md').read()
15+
f = open('README.txt','w+')
16+
f.write(doc.rst)
17+
f.close()

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
'Operating System :: OS Independent',
5050
'Topic :: Software Development :: Quality Assurance',
5151
'Topic :: Software Development :: Testing'
52-
]
52+
],
53+
install_requires=['selenium>=2.41.0']
5354
)

0 commit comments

Comments
 (0)