blob: f91f25740cfef648efbd595f87a6100e38140e85 (
plain)
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
|
#!/usr/bin/env python
from distutils.core import setup
import shutil
import os
shutil.copyfile("cutter.py", "cutter/cutter")
setup(name="cutter",
description="Cue split program",
author="Mikhail Osipov",
author_email="mike.osipov@gmail.com",
url="https://github.com/mykmo/cutter",
packages=["cutter", "cutter.formats"],
scripts=["cutter/cutter"]
)
try:
os.remove("cutter/cutter")
except:
pass
try:
if os.path.exists("build/"):
shutil.rmtree("build")
except:
pass
|