Skip to content

Commit

Permalink
Revert back to distutils. Fixes #273
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Nov 9, 2016
1 parent cf654e7 commit d6aa44f
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 17 deletions.
6 changes: 0 additions & 6 deletions setup.cfg

This file was deleted.

20 changes: 9 additions & 11 deletions setup.py
Expand Up @@ -13,10 +13,10 @@
import subprocess
import tarfile

from distutils.core import setup, Command
from distutils.command.clean import clean as distutils_clean
from distutils.command.sdist import sdist
from distutils import dir_util
from setuptools import setup, Command


class clean(distutils_clean):
Expand Down Expand Up @@ -267,15 +267,13 @@ def run(self):
"mutagen._tools",
],
data_files=data_files,
entry_points={
"console_scripts": [
"mid3cp=mutagen._tools.mid3cp:entry_point",
"mid3iconv=mutagen._tools.mid3iconv:entry_point",
"mid3v2=mutagen._tools.mid3v2:entry_point",
"moggsplit=mutagen._tools.moggsplit:entry_point",
"mutagen-inspect=mutagen._tools.mutagen_inspect:entry_point",
"mutagen-pony=mutagen._tools.mutagen_pony:entry_point",
]
},
scripts=[os.path.join("tools", name) for name in [
"mid3cp",
"mid3iconv",
"mid3v2",
"moggsplit",
"mutagen-inspect",
"mutagen-pony",
]],
long_description=long_description,
)
15 changes: 15 additions & 0 deletions tools/mid3cp
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.mid3cp import entry_point


if __name__ == "__main__":
sys.exit(entry_point())
15 changes: 15 additions & 0 deletions tools/mid3iconv
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.mid3iconv import entry_point


if __name__ == "__main__":
sys.exit(entry_point())
15 changes: 15 additions & 0 deletions tools/mid3v2
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.mid3v2 import entry_point


if __name__ == "__main__":
sys.exit(entry_point())
15 changes: 15 additions & 0 deletions tools/moggsplit
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.moggsplit import entry_point


if __name__ == "__main__":
sys.exit(entry_point())
15 changes: 15 additions & 0 deletions tools/mutagen-inspect
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.mutagen_inspect import entry_point


if __name__ == "__main__":
sys.exit(entry_point())
15 changes: 15 additions & 0 deletions tools/mutagen-pony
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.

import sys

from mutagen._tools.mutagen_pony import entry_point


if __name__ == "__main__":
sys.exit(entry_point())

0 comments on commit d6aa44f

Please sign in to comment.