| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 # This file is part of Adblock Plus <https://adblockplus.org/>, | 1 # This file is part of Adblock Plus <https://adblockplus.org/>, |
| 2 # Copyright (C) 2006-present eyeo GmbH | 2 # Copyright (C) 2006-present eyeo GmbH |
| 3 # | 3 # |
| 4 # Adblock Plus is free software: you can redistribute it and/or modify | 4 # Adblock Plus is free software: you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License version 3 as | 5 # it under the terms of the GNU General Public License version 3 as |
| 6 # published by the Free Software Foundation. | 6 # published by the Free Software Foundation. |
| 7 # | 7 # |
| 8 # Adblock Plus is distributed in the hope that it will be useful, | 8 # Adblock Plus is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
| 12 # | 12 # |
| 13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
| 14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 15 | 15 |
| 16 from os import path | 16 from os import path |
| 17 from setuptools import setup | 17 from setuptools import setup |
| 18 | 18 |
| 19 with open(path.join(path.dirname(__file__), 'README.md')) as fh: | 19 with open(path.join(path.dirname(__file__), 'README.rst')) as fh: |
| 20 long_description = fh.read() | 20 long_description = fh.read() |
| 21 | |
| 22 DEVENV = 'devenv' | |
| 23 PIP = path.join(DEVENV, 'bin', 'pip') | |
| 24 DEV_DEPENDENCIES = ['pytest', 'mock', 'tox'] | |
| 25 | 21 |
| 26 setup( | 22 setup( |
| 27 name='python-abp', | 23 name='python-abp', |
| 28 version='0.1.0', | 24 version='0.1.0', |
| 29 description='A library for working with Adblock Plus filter lists.', | 25 description='A library for working with Adblock Plus filter lists.', |
| 30 long_description=long_description, | 26 long_description=long_description, |
| 31 long_description_content_type='text/markdown', | 27 long_description_content_type='text/x-rst', |
|
Sebastian Noack
2019/01/03 05:22:03
This must be changed to text/x-rst now.
Respectiv
rhowell
2019/01/03 21:32:28
Done.
| |
| 32 author='eyeo GmbH', | 28 author='eyeo GmbH', |
| 33 author_email='info@adblockplus.org', | 29 author_email='info@adblockplus.org', |
| 34 url='https://hg.adblockplus.org/python-abp/', | 30 url='https://hg.adblockplus.org/python-abp/', |
| 35 packages=['abp', 'abp.filters'], | 31 packages=['abp', 'abp.filters'], |
| 36 entry_points={ | 32 entry_points={ |
| 37 'console_scripts': ['flrender=abp.filters.render_script:main', | 33 'console_scripts': ['flrender=abp.filters.render_script:main', |
| 38 'fldiff=abp.filters.diff_script:main'], | 34 'fldiff=abp.filters.diff_script:main'], |
| 39 }, | 35 }, |
| 40 include_package_data=True, | 36 include_package_data=True, |
| 41 license='GPLv3', | 37 license='GPLv3', |
| 42 zip_safe=False, | 38 zip_safe=False, |
| 43 keywords='filterlist adblockplus ABP', | 39 keywords='filterlist adblockplus ABP', |
| 44 classifiers=[ | 40 classifiers=[ |
| 45 'Development Status :: 4 - Beta', | 41 'Development Status :: 4 - Beta', |
| 46 'Intended Audience :: Developers', | 42 'Intended Audience :: Developers', |
| 47 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | 43 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
| 48 'Natural Language :: English', | 44 'Natural Language :: English', |
| 49 'Programming Language :: Python :: 2', | 45 'Programming Language :: Python :: 2', |
| 50 'Programming Language :: Python :: 2.7', | 46 'Programming Language :: Python :: 2.7', |
| 51 'Programming Language :: Python :: 3', | 47 'Programming Language :: Python :: 3', |
| 52 'Programming Language :: Python :: 3.5', | 48 'Programming Language :: Python :: 3.5', |
| 53 'Programming Language :: Python :: 3.6', | 49 'Programming Language :: Python :: 3.6', |
| 54 'Operating System :: OS Independent', | 50 'Operating System :: OS Independent', |
| 55 'Topic :: Software Development :: Libraries :: Python Modules', | 51 'Topic :: Software Development :: Libraries :: Python Modules', |
| 56 ], | 52 ], |
| 57 ) | 53 ) |
| LEFT | RIGHT |