-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (29 loc) · 822 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
29
30
31
32
33
34
__date__ = "9/14/16"
__author__ = "Sharon Lev"
__email__ = "sharon_lev@yahoo.com"
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
def filecontent_or_string(filename, string):
content = string
try:
content = open(filename).read()
except:
pass
return content
lic = filecontent_or_string('LICENSE', '')
readme = filecontent_or_string('README.md', 'Extra Unittest Functionality')
setup(
name='unittestextras',
version='1.0',
packages= find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/sharonlev/pyUnittestExtras',
license=lic,
author='Sharon Lev',
author_email='sharon_lev@yahoo.com',
description='Extra Unittest Functionality',
long_description=readme,
test_suite='test'
)