Added a seperate requirements file for PIP and updated setup.py to use with while reading README and CHANGES

This commit is contained in:
Tanshu 2016-01-29 19:58:36 +05:30
parent fe811d9887
commit 0ef8696d65
2 changed files with 9 additions and 2 deletions

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
pyramid
waitress
transaction
zope.sqlalchemy
SQLAlchemy

View File

@ -3,8 +3,10 @@ import os
from setuptools import setup, find_packages from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read() with open(os.path.join(here, 'README.txt')) as f:
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [ requires = [
'pyramid', 'pyramid',