Skip to content

Commit b29c0f4

Browse files
committed
Add packages to setup.py
1 parent a070da2 commit b29c0f4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ ENV/
102102
.mypy_cache/
103103

104104
.idea/
105+
.DS_Store

setup.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1+
from os import path
12
from setuptools import setup
23

4+
here = path.abspath(path.dirname(__file__))
5+
6+
# Get the long description from the README file
7+
with open(path.join(here, 'README.rst')) as f:
8+
long_description = f.read()
9+
310
setup(
411
name='httpproblem',
512
version='0.1.0',
613
url='https://github.com/cbornet/python-httpproblem',
714
license='MIT',
815
author='Christophe Bornet',
916
author_email='cbornet@hotmail.com',
10-
description='Utility library to work with RFC7807 Problem Details for HTTP APIs'
17+
description='Utility library to work with RFC7807 Problem Details for HTTP APIs',
18+
long_description=long_description,
19+
packages=['httpproblem']
1120
)

0 commit comments

Comments
 (0)