File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 8
8
/coverage.lcov
9
9
/htmlcov
10
10
* .pyc
11
+ /.eggs
Original file line number Diff line number Diff line change 23
23
@echo " make clean cleanup temporary files"
24
24
@echo " make install-develop install project in develop mode (virtual environment)"
25
25
@echo " make develop-deps-ubuntu install software dependencies (valid only in Ubuntu)"
26
+ @echo " make develop-deps-macos install software dependencies (valid only in MacOS if using Homebrew)"
26
27
@echo " make prepare prepare stuff (build, dist, etc) before publishing"
27
28
@echo " make publish-test test publishing a version (PyPI Test)"
28
29
@echo " make install-pypitest test install project (from PyPI Test)"
@@ -80,6 +81,9 @@ install:
80
81
develop-deps-ubuntu :
81
82
apt-get install -y pandoc
82
83
84
+ develop-deps-macos :
85
+ brew install pandoc
86
+
83
87
install-develop :
84
88
virtualenv $(VENV )
85
89
. $(VENV ) /bin/activate && pip install -r requirements-dev.txt
@@ -88,7 +92,7 @@ install-develop:
88
92
install-pypitest :
89
93
virtualenv $(VENV )
90
94
. $(VENV ) /bin/activate && pip install \
91
- --index-url= https://testpypi.python .org/pypi / $(NAME ) ==$(VERSION )
95
+ --index-url https://test.pypi .org/simple / $(NAME ) ==$(VERSION )
92
96
93
97
94
98
# Publish (release)
@@ -100,7 +104,7 @@ prepare:
100
104
101
105
# To use this command, you should have pypitest configured in your ~/.pypirc.
102
106
publish-pypitest : prepare
103
- twine upload dist/* -r pypitest
107
+ twine upload --repository testpypi dist/*
104
108
105
109
publish-pypi : prepare
106
110
twine upload dist/*
Original file line number Diff line number Diff line change 1
1
-r requirements-test.txt
2
2
3
3
setuptools >= 0.8
4
- pypandoc >= 0.9
4
+ pypandoc >= 1.9
5
+ twine >= 4.0
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def run(self):
82
82
with open (tmp_readme_md , "w" ) as f :
83
83
f .write (new_md )
84
84
# Now, convert to RST
85
- rst = pypandoc .convert (tmp_readme_md , "rst" )
85
+ rst = pypandoc .convert_file (tmp_readme_md , "rst" )
86
86
with open (readme_rst , "w" ) as f :
87
87
f .write (rst )
88
88
finally :
You can’t perform that action at this time.
0 commit comments