-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
27 lines (23 loc) · 1.07 KB
/
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
import os
from setuptools import setup, find_packages
def get_version(version_file='_version.py'):
"""Retrieve the package version from a version file in the package root."""
filename = os.path.join(os.path.dirname(__file__), 'dirutility', version_file)
with open(filename, 'rb') as fp:
return fp.read().decode('utf8').split('=')[1].strip(" \n'")
setup(name='dirutility',
version=get_version(),
packages=find_packages(),
install_requires=['looptools>=1.2.3', 'tqdm'],
entry_points={
'console_scripts': [
'zipbackup = dirutility.backup:main', 'dirpaths = dirutility.walk.walk:gui',
'text-dump = dirutility.dump:main'
]
},
url='https://github.com/sfneal/dirutility',
license='MIT License',
author='Stephen Neal',
author_email='[email protected]',
description='Add compare module and GUI to parse two directories and return lists of unique files.',
long_description='Utility functions for quickly reading directory contents and refactoring folder structure')