Skip to content

Commit

Permalink
Prepare for 0.1.0.1.9.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewryanscott committed Nov 9, 2016
1 parent e698faa commit fc17dee
Show file tree
Hide file tree
Showing 14 changed files with 375 additions and 121 deletions.
66 changes: 63 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,64 @@
.cache
docs/_build
build
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
.eggs
parts
bin
var
sdist
wheelhouse
develop-eggs
.installed.cfg
lib
lib64
venv*/
pyvenv*/

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
.coverage.*
nosetests.xml
coverage.xml
htmlcov

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject
.idea
*.iml
*.komodoproject

# Complexity
output/*.html
output/*/index.html

# Sphinx
docs/_build

.DS_Store
*~
.*.sw[po]
.build
.ve
.env
.cache
.pytest
.bootstrap
.appveyor.token
*.bak
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

0.1.0-1.9.2.0 (under development)
---------------------------------
0.1.0.1.9.2.0 (2016-11-08)
--------------------------

* Initial release.
27 changes: 27 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
graft docs
graft examples
graft tests

include .bumpversion.cfg
include .coveragerc
include .cookiecutterrc
include .editorconfig
include .isort.cfg

include AUTHORS.rst
include CHANGELOG.rst
include CONTRIBUTING.rst
include LICENSE
include README.rst

include tox.ini .travis.yml appveyor.yml

global-exclude *.py[cod] __pycache__

include *.txt
recursive-include requirements *.txt

include pytest.ini
recursive-include sunvox *.dll
recursive-include sunvox *.so
recursive-include sunvox *.dylib
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Purpose
-------

Provides access to all of the SunVox DLL functions described
in the :file:`sunvox.h` header file.
in the ``sunvox.h`` header file.

.. uml::

Expand Down
7 changes: 7 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
plantweb
sphinx>=1.3
sphinx-rtd-theme

git+https://github.com/metrasynth/radiant-voices
git+https://github.com/metrasynth/sunvox-dll-python

-e .
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import io
import os
import re
from setuptools import find_packages, setup
import sys
from setuptools import find_packages, setup

SETUP_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))
sys.path.append(SETUP_DIR)
import sunvox
import sunvox # NOQA isort:skip

dependencies = []

Expand All @@ -29,7 +29,8 @@ def read(*names, **kwargs):
author_email='matt@11craft.com',
description=__doc__,
long_description='%s\n%s' % (
re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub('', read('README.rst')),
re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).
sub('', read('README.rst')),
re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
),
packages=find_packages(exclude=['docs', 'tests']),
Expand Down
2 changes: 1 addition & 1 deletion sunvox/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.0-1.9.2.0'
__version__ = '0.1.0.1.9.2.0'
8 changes: 4 additions & 4 deletions sunvox/api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import sunvox.dll
import sunvox.slot
import sunvox.process
import sunvox.slot

from sunvox.dll import *
from sunvox.slot import *
from sunvox.process import *
from sunvox.dll import * # NOQA
from sunvox.process import * # NOQA
from sunvox.slot import * # NOQA

__all__ = sunvox.dll.__all__ + sunvox.slot.__all__ + sunvox.process.__all__

Expand Down
2 changes: 1 addition & 1 deletion sunvox/buffered/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .process import *
from .process import * # NOQA
9 changes: 4 additions & 5 deletions sunvox/buffered/process.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
from multiprocessing import sharedctypes

import numpy
from numpy import int16, float32, zeros

from numpy import float32, int16, zeros
from sunvox import SV_INIT_FLAG, Process

from .processor import BufferedProcessor


Expand Down Expand Up @@ -69,7 +67,8 @@ def fill_buffer(self):
buffer.shape = self.shape
else:
buffer = zeros(self.shape)
print('WARNING, got {!r} {!r} instead of bytes'.format(type(raw), raw))
print('WARNING, got {!r} {!r} instead of bytes'
.format(type(raw), raw))
return buffer


Expand Down

0 comments on commit fc17dee

Please sign in to comment.