mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
remove old setup files
This commit is contained in:
parent
8b6d215934
commit
00d26fc068
3 changed files with 0 additions and 104 deletions
|
|
@ -1,6 +0,0 @@
|
||||||
include *.rst
|
|
||||||
recursive-include pelican *.html *.css *png *.rst *.markdown *.md *.mkd *.xml *.py *.jinja2
|
|
||||||
include LICENSE THANKS docs/changelog.rst pyproject.toml
|
|
||||||
graft samples
|
|
||||||
global-exclude __pycache__
|
|
||||||
global-exclude *.py[co]
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
[bdist_wheel]
|
|
||||||
universal = 1
|
|
||||||
96
setup.py
96
setup.py
|
|
@ -1,96 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
from os import walk
|
|
||||||
from os.path import join, relpath
|
|
||||||
|
|
||||||
from setuptools import find_packages, setup
|
|
||||||
|
|
||||||
|
|
||||||
version = "4.8.0"
|
|
||||||
|
|
||||||
requires = [
|
|
||||||
'feedgenerator >= 1.9',
|
|
||||||
'jinja2 >= 2.7',
|
|
||||||
'pygments',
|
|
||||||
'docutils>=0.15',
|
|
||||||
'blinker',
|
|
||||||
'unidecode',
|
|
||||||
'python-dateutil',
|
|
||||||
'rich',
|
|
||||||
'backports-zoneinfo[tzdata] >= 0.2; python_version<"3.9"',
|
|
||||||
'watchfiles'
|
|
||||||
]
|
|
||||||
|
|
||||||
entry_points = {
|
|
||||||
'console_scripts': [
|
|
||||||
'pelican = pelican.__main__:main',
|
|
||||||
'pelican-import = pelican.tools.pelican_import:main',
|
|
||||||
'pelican-quickstart = pelican.tools.pelican_quickstart:main',
|
|
||||||
'pelican-themes = pelican.tools.pelican_themes:main',
|
|
||||||
'pelican-plugins = pelican.plugins._utils:list_plugins'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
README = open('README.rst', encoding='utf-8').read()
|
|
||||||
CHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()
|
|
||||||
|
|
||||||
# Relative links in the README must be converted to absolute URL's
|
|
||||||
# so that they render correctly on PyPI.
|
|
||||||
README = README.replace(
|
|
||||||
"<CONTRIBUTING.rst>",
|
|
||||||
"<https://docs.getpelican.com/en/latest/contribute.html>",
|
|
||||||
)
|
|
||||||
|
|
||||||
description = '\n'.join([README, CHANGELOG])
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name='pelican',
|
|
||||||
version=version,
|
|
||||||
url='https://getpelican.com/',
|
|
||||||
author='Justin Mayer',
|
|
||||||
author_email='authors@getpelican.com',
|
|
||||||
description="Static site generator supporting reStructuredText and "
|
|
||||||
"Markdown source content.",
|
|
||||||
project_urls={
|
|
||||||
'Documentation': 'https://docs.getpelican.com/',
|
|
||||||
'Funding': 'https://donate.getpelican.com/',
|
|
||||||
'Source': 'https://github.com/getpelican/pelican',
|
|
||||||
'Tracker': 'https://github.com/getpelican/pelican/issues',
|
|
||||||
},
|
|
||||||
keywords='static web site generator SSG reStructuredText Markdown',
|
|
||||||
license='AGPLv3',
|
|
||||||
long_description=description,
|
|
||||||
long_description_content_type='text/x-rst',
|
|
||||||
packages=find_packages(),
|
|
||||||
include_package_data=True, # includes all in MANIFEST.in if in package
|
|
||||||
# NOTE : This will collect any files that happen to be in the themes
|
|
||||||
# directory, even though they may not be checked into version control.
|
|
||||||
package_data={ # pelican/themes is not a package, so include manually
|
|
||||||
'pelican': [relpath(join(root, name), 'pelican')
|
|
||||||
for root, _, names in walk(join('pelican', 'themes'))
|
|
||||||
for name in names],
|
|
||||||
},
|
|
||||||
install_requires=requires,
|
|
||||||
extras_require={
|
|
||||||
'Markdown': ['markdown~=3.1.1']
|
|
||||||
},
|
|
||||||
entry_points=entry_points,
|
|
||||||
classifiers=[
|
|
||||||
'Development Status :: 5 - Production/Stable',
|
|
||||||
'Environment :: Console',
|
|
||||||
'Framework :: Pelican',
|
|
||||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
|
||||||
'Operating System :: OS Independent',
|
|
||||||
'Programming Language :: Python :: 3',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
|
||||||
'Programming Language :: Python :: 3.9',
|
|
||||||
'Programming Language :: Python :: 3.10',
|
|
||||||
'Programming Language :: Python :: 3.11',
|
|
||||||
'Programming Language :: Python :: 3.12',
|
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
||||||
],
|
|
||||||
test_suite='pelican.tests',
|
|
||||||
)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue