-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
38 lines (33 loc) · 958 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
35
36
37
38
import os
from setuptools import setup
NAME = 'discogstagger'
VERSION = '3.0.3'
user = os.getenv('USER')
if os.getenv('SUDO_USER') is not None:
user = os.getenv('SUDO_USER')
setup(
name=NAME,
version=VERSION,
description=('Console based audio-file metadata tagger that uses the Discogs.com api'),
author='Jesse Ward',
author_email='[email protected]',
url='https://github.com/jesseward/discogstagger',
entry_points={
'console_scripts': [
'discogs-tagger = discogstagger.main:tagger'
]
},
packages=['discogstagger'],
data_files=[(
os.path.expanduser('~{0}/.config/{1}/'.format(user, NAME)),
['conf/discogs_tagger.conf']),
('share/{0}'.format(NAME), ['README.md'])],
install_requires=[
'click>=6.7',
'discogs-client>=2.2.0',
'mutagen>=1.21',
'mediafile>=0.0.1',
'requests>=1.2.0',
'six>=1.10.0',
],
)