Added setup script

This commit is contained in:
2015-09-14 09:17:15 +01:00
parent 84ad032c98
commit 3e84923345
2 changed files with 27 additions and 0 deletions
View File
+27
View File
@@ -0,0 +1,27 @@
import os
from setuptools import setup, find_packages
def read(fname):
"""
Utility function to read the README file.
Used for the long_description. It's nice, because now 1) we have a top level
README file and 2) it's easier to type in the README file than to put a raw
string in below ...
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="sp_fileops",
version="0.1",
author="Sam Perry",
author_email="u1265119@unimail.hud.ac.uk",
description=("A collection of useful file operation tools, written by Sam "
"Perry"),
license="GPL",
keywords="pathops fileops file operations",
url="https://github.com/Pezz89/fileops",
packages=find_packages(),
install_requires=read('requirements.txt'),
)