Skip to content

Commit 6256738

Browse files
committed
Fixed file permissions and added some structure. No implementation changes.
1 parent b891e9c commit 6256738

File tree

11 files changed

+89
-16
lines changed

11 files changed

+89
-16
lines changed

.gitignore

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
55+
# Sphinx documentation
56+
docs/_build/
57+
58+
# PyBuilder
59+
target/
60+
61+
# pyenv python configuration file
62+
.python-version

LICENSE

100755100644
File mode changed.

README.rst

100755100644
File mode changed.

psonic/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from .api import *
2+

psonic/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .psonic import *
File renamed without changes.

python-sonic.ipynb

100755100644
File mode changed.

setup.py

100755100644
Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
1010
long_description = f.read()
1111

12+
requirements = [
13+
'python-osc',
14+
15+
]
16+
17+
setup_requirements = [
18+
'pytest-runner',
19+
20+
]
21+
22+
test_requirements = [
23+
'pytest',
24+
]
25+
26+
1227
setup(
1328
name='python-sonic',
1429
version='0.3.0',
@@ -17,9 +32,13 @@
1732
url='https://github.com/gkvoelkl/python-sonic',
1833
author='gkvoelkl',
1934
author_email='gkvoelkl@nelson-games.de',
20-
35+
packages=[
36+
'psonic',
37+
],
2138
license='MIT',
22-
39+
zip_safe=False,
40+
include_package_data=True,
41+
install_requires=requirements,
2342
classifiers=[
2443
'Development Status :: 4 - Beta',
2544
'Intended Audience :: Developers',
@@ -31,7 +50,6 @@
3150
'Programming Language :: Python :: 3.5',
3251
'Programming Language :: Python :: 3.6',
3352
],
34-
3553
keywords= [
3654
'music',
3755
'sonic pi',
@@ -42,18 +60,8 @@
4260
'supercollider',
4361
'synthesis'
4462
],
45-
46-
#packages=find_packages(),
47-
py_modules=['psonic'],
48-
install_requires=['python-osc'],
49-
50-
# To provide executable scripts, use entry points in preference to the
51-
# "scripts" keyword. Entry points provide cross-platform support and allow
52-
# pip to create the appropriate form of executable for the target platform.
53-
#entry_points={
54-
# 'console_scripts': [
55-
# 'sample=sample:main',
56-
# ],
57-
#},
63+
test_suite='tests',
64+
tests_require=test_requirements,
65+
setup_requires=setup_requirements,
5866
)
5967

tests/__init__.py

Whitespace-only changes.

tests/conftest.py

Whitespace-only changes.

0 commit comments

Comments
 (0)