-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,33 +3,25 @@ | |
|
||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
_version_re = re.compile(r'__version__\s+=\s+(.*)') | ||
|
||
with open('yatl/__init__.py', 'rb') as f: | ||
version = str(ast.literal_eval(_version_re.search( | ||
f.read().decode('utf-8')).group(1))) | ||
print(long_description) | ||
from yatl import __version__ | ||
|
||
setuptools.setup( | ||
name="yatl", | ||
version=version, | ||
url='https://github.com/web2py/yatl', | ||
license='BSD', | ||
author='Massimo Di Pierro', | ||
author_email='[email protected]', | ||
maintainer='Massimo Di Pierro', | ||
maintainer_email='[email protected]', | ||
description='Yet Another Template Language', | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
packages=['yatl'], | ||
include_package_data=True, | ||
zip_safe=False, | ||
platforms='any', | ||
classifiers=[ | ||
name = "yatl", | ||
version = __version__, | ||
url = 'https://github.com/web2py/yatl', | ||
license = 'BSD', | ||
author = 'Massimo Di Pierro', | ||
author_email = '[email protected]', | ||
maintainer = 'Massimo Di Pierro', | ||
maintainer_email = '[email protected]', | ||
description = 'Yet Another Template Language', | ||
long_description = "This is a spin-off of the web2py template language, framework agnostic, documented in the web2py book. Includes helpers and sanitizer.", | ||
long_description_content_type = "text/markdown", | ||
packages = ['yatl'], | ||
include_package_data = True, | ||
zip_safe = False, | ||
platforms = 'any', | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = '1.0.0' | ||
__version__ = '1.0.1' | ||
|
||
from . template import * | ||
from . helpers import * |