-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
34 lines (26 loc) · 847 Bytes
/
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
from typing import List
from setuptools import setup, find_packages
import os
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')
with open(README_PATH, 'r', encoding='utf-8') as r:
long_description = r.read()
def get_requirements(filename: str = 'requirements.txt') -> List[str]:
deps = []
with open(filename, 'r') as f:
for pkg in f.readlines():
if pkg.strip():
deps.append(pkg)
return deps
setup(
name='audioset_augmentor',
version='0.0.1',
description='',
author='ILJI CHOI',
author_email='choiilji@gmail.com',
long_description=long_description,
long_description_content_type='text/markdown',
keywords='audioset,sound',
packages=find_packages(),
install_requires=get_requirements(),
python_requires='>=3'
)