Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Changes

## 1.5
Fixed setup.py not reading README.md when published to pypi

## 1.2.4

Added Decimals variable type
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
from setuptools import setup, find_packages
from pathlib import Path


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("#")]

parent_dir = Path(__file__).parent
long_description = (parent_dir / "README.md").read_text()

setup(
name='envs',
description='Easy access of environment variables from Python with support for strings, booleans, list, tuples, and dicts.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/bjinwright/envs',
author='Brian Jinwright',
license='Apache License 2.0',
Expand Down