Skip to content

Commit bbdeb08

Browse files
committed
Readme update to make pypi happy.
1 parent 11da02d commit bbdeb08

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

setup.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
from setuptools import setup, find_packages
2+
from os import path
3+
4+
this_directory = path.abspath(path.dirname(__file__))
5+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
6+
long_description = f.read()
27

38
setup(
49
name="django-x-robots-tag-middleware",
510
version="1.3.2",
611
url="https://github.com/cyface/django-x-robots-tag-middleware",
7-
license="BSD",
12+
license="MIT",
813
description="Enables returning the X-Robots-Tag header based on Django settings.",
9-
long_description=open("README.md").read(),
14+
long_description=long_description,
15+
long_description_content_type='text/markdown',
1016
author="Tim White",
1117
author_email="tim@cyface.com",
1218
packages=find_packages(
@@ -21,10 +27,11 @@
2127
"Development Status :: 5 - Production/Stable",
2228
"Framework :: Django",
2329
"Intended Audience :: Developers",
24-
"License :: OSI Approved :: BSD License",
30+
"License :: OSI Approved :: MIT License",
2531
"Operating System :: OS Independent",
26-
"Programming Language :: Python :: 3",
27-
"Programming Language :: Python :: 3.5",
32+
"Programming Language :: Python :: 3.6",
33+
"Programming Language :: Python :: 3.7",
34+
"Programming Language :: Python :: 3.8",
2835
"Topic :: Internet :: WWW/HTTP",
2936
],
3037
)

0 commit comments

Comments
 (0)