forked from crumpstrr33/beatboxer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (39 loc) · 1.24 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from setuptools import setup, find_packages
from os import path
import re
with open('README.md', 'r') as f:
long_description = f.read()
with open(path.join('beatboxer', '__init__.py'), 'r') as f:
setup_file = f.read()
version = re.findall(r'__version__ = \'(.*)\'', setup_file)[0]
name = re.findall(r'__name__ = \'(.*)\'', setup_file)[0]
with open('requirements.txt', 'r') as f:
requirements = f.read().split('\n')
setup(
name=name,
version=version,
author='Jacob Scott',
author_email='jscott12009@gmail.com',
description='A beatboxer to create custom beats.',
license='MIT',
url='https://github.com/crumpstrr33/beatboxer',
packages=find_packages(),
python_requires='>=3',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=requirements,
package_data={'beatboxer': [
'samples/bass.wav',
'samples/clap.wav',
'samples/crash.wav',
'samples/hihat.wav',
'samples/kick.wav',
'samples/snare.wav',
'icon/icon.ico']
},
classifiers=[
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only'
]
)