|
1 | 1 | 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() |
2 | 7 |
|
3 | 8 | setup( |
4 | 9 | name="django-x-robots-tag-middleware", |
5 | 10 | version="1.3.2", |
6 | 11 | url="https://github.com/cyface/django-x-robots-tag-middleware", |
7 | | - license="BSD", |
| 12 | + license="MIT", |
8 | 13 | 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', |
10 | 16 | author="Tim White", |
11 | 17 | author_email="tim@cyface.com", |
12 | 18 | packages=find_packages( |
|
21 | 27 | "Development Status :: 5 - Production/Stable", |
22 | 28 | "Framework :: Django", |
23 | 29 | "Intended Audience :: Developers", |
24 | | - "License :: OSI Approved :: BSD License", |
| 30 | + "License :: OSI Approved :: MIT License", |
25 | 31 | "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", |
28 | 35 | "Topic :: Internet :: WWW/HTTP", |
29 | 36 | ], |
30 | 37 | ) |
0 commit comments