Filter badges for pypi
This commit is contained in:
9
setup.py
9
setup.py
@@ -1,3 +1,4 @@
|
|||||||
|
import re
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
|
||||||
@@ -25,8 +26,12 @@ docs_require = [
|
|||||||
'sphinx>=1.4.0',
|
'sphinx>=1.4.0',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
with open('README.rst') as fh:
|
||||||
|
long_description = re.sub(
|
||||||
|
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='wagtail_personalisation',
|
name='wagtail-personalisation',
|
||||||
version='0.9.0',
|
version='0.9.0',
|
||||||
description='A Wagtail add-on for showing personalized content',
|
description='A Wagtail add-on for showing personalized content',
|
||||||
author='Lab Digital BV',
|
author='Lab Digital BV',
|
||||||
@@ -42,7 +47,7 @@ setup(
|
|||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
license='MIT',
|
license='MIT',
|
||||||
long_description=open('README.rst').read(),
|
long_description=long_description,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 2 - Pre-Alpha',
|
'Development Status :: 2 - Pre-Alpha',
|
||||||
'Environment :: Web Environment',
|
'Environment :: Web Environment',
|
||||||
|
Reference in New Issue
Block a user