-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·28 lines (24 loc) · 891 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
#!/usr/bin/python
import os
import shutil
from setuptools import setup
if not os.path.exists('scripts'):
os.makedirs('scripts')
try:
shutil.copyfile('batch-rename.py', 'scripts/batch-rename')
except IOError:
print("Could not copy batch-rename.py file. You can ignore this if you're installing with pip.")
setup(
name='batch-rename',
version='1.0.6',
packages=['batch_renamer_cli'],
scripts=['scripts/batch-rename'],
install_requires=['colorama'],
url='https://github.com/darko3/batch-renamer',
download_url='https://github.com/darko3/batch-renamer/archive/1.0.6.tar.gz',
keywords=['batch-renamer', 'files', 'python'],
license='MIT',
author='Girish Oemrawsingh',
author_email='[email protected]',
description='An easy to use python script for quickly renaming multiple files ending with incrementing numbers.'
)