Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pip support to automate installation #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.eggs/
*.egg
*.egg-info

*.pyc
*.pyo

*.log
56 changes: 56 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
from setuptools import setup, find_packages
from codecs import open
from os import path


here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'README'), encoding='utf-8') as f:
long_description = f.read()


setup(
name='paulstretch_python',
version='0.1.0',

description='paulstretch algorithm in python',
long_description=long_description,
url='https://github.com/paulnasca/paulstretch_python',
author='Nasca Octavian PAUL',
author_email='',
license='Public Domain',
keywords='paulstretch sound',

classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Other Audience',
'License :: Public Domain',
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],

packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['numpy', 'scipy'],

# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },

scripts=[
'paulstretch_stereo.py',
'paulstretch_mono.py',
'paulstretch_newmethod.py'
],
)