Skip to content

Commit

Permalink
Fix missing template and Pypi release 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesBlonde committed Jul 6, 2017
1 parent 1ef34fe commit bb57bc8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ You have to sent an email and you'll received a response in a minute with 2 PDF:

| Version | Date | Features |
|---------|:----------:|----------------------------------------------------------------------------|
| 0.7.2 | 2017/07/05 | Add missing template |
| 0.7.1 | 2017/07/05 | Remove debugging (print) |
| 0.7.0 | 2017/07/05 | Add play_url method to play an HTTP URL (HTTPS not supported) |
| 0.6.2 | 2017/06/21 | Fix websocket source status in messages |
Expand Down
8 changes: 8 additions & 0 deletions RELEASES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Version 0.7.2
~~~~~~~~~~~~~

:Date:
2017/07/05

- Fix: Add missing template

Version 0.7.1
~~~~~~~~~~~~~

Expand Down
13 changes: 12 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
#!/usr/bin/env python3
from setuptools import setup, find_packages
import os

PACKAGES = find_packages(exclude=['tests', 'tests.*'])


def gen_data_files(*dirs):
results = []

for src_dir in dirs:
for root,dirs,files in os.walk(src_dir):
results.append((root, map(lambda f:root + "/" + f, files)))
return results

REQUIRES = [
'requests>=2,<3',
'enum-compat>=0.0.2',
Expand All @@ -23,14 +33,15 @@

setup(
name="libsoundtouch",
version="0.7.1",
version="0.7.2",
license="Apache License 2.0",
url="http://libsoundtouch.readthedocs.io",
download_url="https://github.com/CharlesBlonde/libsoundtouch",
author="Charles Blonde",
author_email="charles.blonde@gmail.com",
description="Bose Soundtouch Python library",
packages=PACKAGES,
data_files = gen_data_files("libsoundtouch/templates"),
include_package_data=True,
zip_safe=True,
platforms='any',
Expand Down

0 comments on commit bb57bc8

Please sign in to comment.