Skip to content

Commit

Permalink
Add setup.py, upload to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Nov 18, 2018
1 parent e02ea2e commit fbd9910
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.rst
Expand Up @@ -6,6 +6,15 @@ optionally be written directly to a .wav audio file. Supports pitch-bending,
vibrato, polyphony, several waveform types (sine, square, triangle,
sawtooth), and several other waveform-shaping options.

Installation
============

Install from the PyPi repository:

::

pip install tones

Example
=======

Expand Down
36 changes: 36 additions & 0 deletions setup.py
@@ -0,0 +1,36 @@
import unittest
import os
from setuptools import setup
from distutils.core import Command

HERE = os.path.abspath(os.path.dirname(__file__))
README = os.path.join(HERE, "README.rst")

classifiers = [
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
]

with open(README, 'r') as f:
long_description = f.read()

setup(
name='tones',
version='1.0.0',
description=('Generates simple polyphonic tones and melodies'),
long_description=long_description,
url='http://github.com/eriknyquist/tones',
author='Erik Nyquist',
author_email='eknyquist@gmail.com',
license='Apache 2.0',
packages=['tones'],
classifiers = classifiers,
)

0 comments on commit fbd9910

Please sign in to comment.