Skip to content

Commit

Permalink
using pipenv now
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadfastx committed Oct 27, 2017
1 parent fae48c2 commit 627d048
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 18 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Expand Up @@ -4,18 +4,12 @@ dist: trusty
language: python

python:
- "2.7_with_system_site_packages"
- "2.7"

env:
- TOX_ENV=py27
- TOX_ENV=flake8

before_install:
- "wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -"
- "sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessie.list"
- "sudo apt-get update -qq"
- "sudo apt-get install -y gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 python-gst-1.0 libffi-dev python-all-dev"

install:
- "pip install tox"

Expand Down
8 changes: 5 additions & 3 deletions Makefile
@@ -1,9 +1,12 @@
.PHONY: upload build clean
.PHONY: init upload build clean

init:
pipenv --two --site-packages
pipenv install --dev

build:
python setup.py sdist bdist_wheel


clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
Expand All @@ -12,7 +15,6 @@ clean:
rm -rf .tox
rm -rf dist/


pypi: clean
python setup.py sdist bdist_wheel
twine upload dist/*
31 changes: 31 additions & 0 deletions Pipfile
@@ -0,0 +1,31 @@
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[packages]

mopidy = "*"
pykka = "*"
requests = "*"


[dev-packages]

tox = "*"
pytest = "*"
pytest-sugar = "*"
mock = "*"
pytest-cov = "*"
pytest-mock = "*"
"flake8" = "*"
"flake8-import-order" = "*"
funcsigs = "*"
mopidy-musicbox-webclient = "*"


[requires]

python_version = "2.7"

0 comments on commit 627d048

Please sign in to comment.