From 8105838433c9f701aa69d5292da0eb217b28ed84 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Nov 2019 09:09:02 +0000 Subject: [PATCH 1/3] Test package is installable --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4f6a3b4..53c2a85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ install: - pip install -r requirements.txt script: - tox + - pip install . env: - TOXENV=py27-django14 - TOXENV=py27-django18 From fbd22b8c8c91eda35c09ae16ab6c69b2790ff2e9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Nov 2019 09:09:22 +0000 Subject: [PATCH 2/3] Add readme as long description This is what shows up on PyPI --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 7c8fa67..f998ec7 100755 --- a/setup.py +++ b/setup.py @@ -19,6 +19,9 @@ license = 'BSD' install_requires = ["django>=1.3"] +with open('README.md') as f: + readme = f.read() + def get_version(package): """ @@ -68,6 +71,8 @@ def get_package_data(package): url=url, license=license, description=description, + long_description=readme, + long_description_content_type='text/markdown', author=author, author_email=author_email, packages=get_packages(package), From 1b2dbf41b28869c598818d65ee7de556e99f5374 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Nov 2019 09:10:19 +0000 Subject: [PATCH 3/3] Change package owner to match license --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f998ec7..3cbc907 100755 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ package = 'log_request_id' description = 'Django middleware and log filter to attach a unique ID to every log message generated as part of a request' url = 'https://github.com/dabapps/django-log-request-id/' -author = 'Jamie Matthews' -author_email = 'jamie.matthews@gmail.com' +author = 'DabApps' +author_email = 'hello@dabapps.com' license = 'BSD' install_requires = ["django>=1.3"]