3
3
from setuptools import setup , find_packages , findall
4
4
5
5
def get_version ():
6
- with open (os .path .join (thisdir , 'VERSION' ), 'r' ) as fh :
7
- return fh .readline ().strip ()
6
+ with open (os .path .join (thisdir , 'VERSION' ), 'r' ) as fh :
7
+ return fh .readline ().strip ()
8
8
9
9
def get_requires (filename = 'requirements.txt' ):
10
- requires = []
11
- with open (os .path .join (thisdir , filename ), 'r' ) as fh :
12
- for line in fh .readlines ():
13
- requires += [ line .strip () ]
14
- return requires
10
+ requires = []
11
+ with open (os .path .join (thisdir , filename ), 'r' ) as fh :
12
+ for line in fh .readlines ():
13
+ requires += [ line .strip () ]
14
+ return requires
15
15
16
16
thisdir = os .path .dirname (os .path .realpath (__file__ ))
17
17
@@ -28,16 +28,18 @@ def get_requires(filename='requirements.txt'):
28
28
ALL_SETUP_REQUIRES = get_requires ('setup_requirements.txt' )
29
29
30
30
setup (
31
- name = 'logging_yamlconfig' ,
32
- version = VERSION ,
33
- description = 'Python dictconfig helpers for yaml config files' ,
34
- author = 'IBM' ,
35
- author_email = 'jdye@us.ibm.com' ,
36
- packages = ALL_PACKAGES ,
37
- provides = ALL_PACKAGES ,
38
- scripts = SCRIPTS ,
39
- include_package_data = True ,
40
- setup_requires = ALL_SETUP_REQUIRES ,
31
+ name = 'logging_yamlconfig' ,
32
+ version = VERSION ,
33
+ description = 'Python dictconfig helpers for yaml config files' ,
34
+ author = 'IBM' ,
35
+ author_email = 'jdye@us.ibm.com' ,
36
+ url = 'https://github.com/dyejon/python_logging_yamlconfig' ,
37
+ download_url = 'https://github.com/dyejon/python_logging_yamlconfig/tarball/%s' % VERSION ,
38
+ packages = ALL_PACKAGES ,
39
+ provides = ALL_PACKAGES ,
40
+ scripts = SCRIPTS ,
41
+ include_package_data = True ,
42
+ setup_requires = ALL_SETUP_REQUIRES ,
41
43
install_requires = ALL_INSTALL_REQUIRES ,
42
44
tests_require = ALL_TEST_REQUIRES ,
43
45
test_suite = 'nose.collector'
0 commit comments