Skip to content

Commit 8a5c17d

Browse files
authored
PyPi Publishing (#58)
* Use full URLs for PyPi readme * PyPi publish * Add circle snapshot
1 parent 495344c commit 8a5c17d

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,47 +14,47 @@ Features
1414

1515
Auto Completion:
1616

17-
.. image:: resources/auto-complete.gif
17+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/auto-complete.gif
1818

1919
Code Linting with pycodestyle and pyflakes:
2020

21-
.. image:: resources/linting.gif
21+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/linting.gif
2222

2323
Signature Help:
2424

25-
.. image:: resources/signature-help.gif
25+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/signature-help.gif
2626

2727
Go to definition:
2828

29-
.. image:: resources/goto-definition.gif
29+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/goto-definition.gif
3030

3131
Hover:
3232

33-
.. image:: resources/hover.gif
33+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/hover.gif
3434

3535
Find References:
3636

37-
.. image:: resources/references.gif
37+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/references.gif
3838

3939
Document Symbols:
4040

41-
.. image:: resources/document-symbols.gif
41+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/document-symbols.gif
4242

4343
Document Formatting:
4444

45-
.. image:: resources/document-format.gif
45+
.. image:: https://github.com/palantir/python-language-server/blob/develop/resources/document-format.gif
4646

4747
Installation
4848
------------
4949

50-
``pip install --process-dependency-links .``
50+
``pip install python-language-server``
5151

5252
Development
5353
-----------
5454

5555
To run the test suite:
5656

57-
``pip install --process-dependency-links .[test] && tox``
57+
``pip install .[test] && tox``
5858

5959
Develop against VS Code
6060
=======================

circle.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
machine:
22
post:
33
- pyenv global 2.7.11 3.4.3
4+
5+
deployment:
6+
releases:
7+
tag: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/
8+
owner: palantir
9+
commands:
10+
- ./scripts/circle/pypi.sh

scripts/circle/pypi.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash -e
2+
3+
if [ -z "$CI" ]; then
4+
echo "Will only continue on CI"
5+
exit
6+
fi
7+
8+
# build package and upload to private pypi index
9+
rm -f ~/.pypirc
10+
echo "[distutils]" >> ~/.pypirc
11+
echo "index-servers = pypi-private" >> ~/.pypirc
12+
echo "[pypi-private]" >> ~/.pypirc
13+
echo "repository=https://$PYPI_HOST" >> ~/.pypirc
14+
echo "username=$PYPI_USERNAME" >> ~/.pypirc
15+
echo "password=$PYPI_PASSWORD" >> ~/.pypirc
16+
17+
python setup.py sdist upload -r pypi-private

0 commit comments

Comments
 (0)