Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test: lint-python test-python
safetest:
export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; make test

publish: install-test-requirements
publish:
python setup.py sdist
twine upload dist/mocket-$(shell python -c 'import mocket; print(mocket.__version__)')*.*
anaconda upload dist/mocket-$(shell python -c 'import mocket; print(mocket.__version__)').tar.gz
Expand Down
6 changes: 1 addition & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
python-magic = "*"
six = "*"
decorator = "*"
urllib3 = "*"
http-parser = "*"
mocket = {editable = true, path = "."}

[dev-packages]
pre-commit = "*"
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

major, minor = sys.version_info[:2]

install_requires = [
line
for line in io.open(
os.path.join(os.path.dirname(__file__), "requirements.txt")
).readlines()
if not line.startswith("-i")
]
install_requires = (
"decorator>=4.4.2",
"http-parser>=0.9.0",
"python-magic>=0.4.18",
"six>=1.15.0",
"urllib3>=1.25.11",
)

pook_requires = ("pook>=0.2.1",)
exclude_packages = ("tests", "tests.*")
Expand Down