Skip to content

Commit

Permalink
Minor update to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-menon committed Sep 26, 2023
1 parent 721ad4e commit 235a479
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
from setuptools import setup

from pypage import pypage_version as version

repo_url = 'https://github.com/arjun-menon/pypage'
download_url = '%s/archive/v%s.tar.gz' % (repo_url, version)


def get_long_desc():
doc_file_name = 'README.rst'
exclude_lines_with_words = ['toctree', 'maxdepth']
Expand All @@ -14,6 +16,7 @@ def get_long_desc():
lines = f.readlines()
return ''.join(line for line in lines if not any(word in line for word in exclude_lines_with_words))


setup(name='pypage',
version=version,
description=' Light-weight Python Templating Engine',
Expand All @@ -22,15 +25,23 @@ def get_long_desc():
download_url=download_url,
author='Arjun G. Menon',
author_email='contact@arjungmenon.com',
keywords='templating enigne text processing static generator',
license='Apache',
keywords=[
'templating engine text processing static generator',
'templating engine',
'text processing',
'template',
'templates'
],
license='Apache-2.0',
py_modules=['pypage'],
entry_points={
'console_scripts': ['pypage=pypage:main'],
},
classifiers=[
'Topic :: Text Processing',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Text Processing :: Markup :: HTML',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand All @@ -41,10 +52,5 @@ def get_long_desc():
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
])

0 comments on commit 235a479

Please sign in to comment.