forked from capless/envs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (25 loc) · 880 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
from setuptools import setup, find_packages
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setup(
name='envs',
description='Easy access of environment variables from Python with support for strings, booleans, list, tuples, and dicts.',
url='https://github.com/bjinwright/envs',
author='Brian Jinwright',
license='Apache License 2.0',
keywords='environment variables',
extras_require={
'cli': parse_requirements('requirements_cli.txt'),
},
packages=find_packages(),
py_modules=['envs.cli'],
include_package_data=True,
zip_safe=True,
version='1.3',
entry_points='''
[console_scripts]
envs=envs.cli:envs
''',
)