-
Notifications
You must be signed in to change notification settings - Fork 705
Add eachdist.py to simplify build. #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
afc7722
56f2fb3
4efd2af
e5dcf63
c38b2fb
e62f5bc
2524efe
e3266e7
7693a40
ea07bd6
ef7dd33
51f5d8d
945e1e7
83120d6
66e9c8a
f216836
cf7e685
10cfb56
c5a2aa6
4052f5f
487a600
3c203be
a8800b2
ac4174b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ lib | |
lib64 | ||
__pycache__ | ||
venv*/ | ||
.venv*/ | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pylint~=2.3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this file have the word There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, if you use the |
||
flake8~=3.7 | ||
isort~=4.3 | ||
black>=19.3b0,==19.* | ||
mypy==0.740 | ||
sphinx~=2.1 | ||
sphinx-rtd-theme~=0.4 | ||
sphinx-autodoc-typehints~=1.10.2 | ||
pytest!=5.2.3 | ||
pytest-cov>=2.8 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand these were moved from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should at least have |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# These will be sorted first in that order. | ||
# All packages that are depended upon by others should be listed here. | ||
[DEFAULT] | ||
sortfirst= | ||
opentelemetry-api | ||
opentelemetry-sdk | ||
ext/opentelemetry-ext-wsgi | ||
ext/* | ||
|
||
[lintroots] | ||
extraroots=examples/*,scripts/ | ||
subglob=*.py,tests/,test/,src/*,examples/* | ||
|
||
[testroots] | ||
extraroots=examples/*,tests/ | ||
subglob=tests/,test/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,7 @@ line-length = 79 | |
exclude = ''' | ||
( | ||
/( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I understand correctly, this file is for excluding certain folders from being checked with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, running black directly vs eachdist.py makes no difference at all. This was removed because black already checks .gitignore and so the lines were just redundant. This is actually a change independent from the rest of this PR and could be merged separately. |
||
\.eggs # exclude a few common directories in the | ||
| \.git # root of the project | ||
| \.hg | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| \.vscode | ||
| _build | ||
| buck-out | ||
| target | ||
| build | ||
| dist | ||
| ext/opentelemetry-ext-jaeger/src/opentelemetry/ext/jaeger/gen # generated files | ||
ext/opentelemetry-ext-jaeger/src/opentelemetry/ext/jaeger/gen # generated files | ||
)/ | ||
| foo.py # also separately exclude a file named foo.py in | ||
# the root of the project | ||
) | ||
''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between
python scripts/eachdist.py develop
andpython scripts/eachdist.py install --editable
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is an alias for
install --editable --with-dev-deps --eager-upgrades
(seeopentelemetry-python/scripts/eachdist.py
Line 82 in cf7e685