Skip to content

Commit

Permalink
Merge pull request #6 from cbefus/packaging
Browse files Browse the repository at this point in the history
Add setup.py for packaging.
  • Loading branch information
cbefus authored Sep 10, 2018
2 parents 5901ad8 + f924afd commit 5b91e19
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PyOptional
# Optional.py
An Implementation of the Optional Object for Python

## Why
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from setuptools import setup, find_packages


with open('README.md') as f:
readme = f.read()

with open('LICENSE') as f:
license = f.read()

setup(
name='optional.py',
version='0.1.0',
description='An implementation of the Optional object in Python',
long_description=readme,
author='Chad Befus',
author_email='[email protected]',
url='https://github.com/cbefus/optional.py',
license=license,
packages=find_packages(exclude=('test'))
)

0 comments on commit 5b91e19

Please sign in to comment.