-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (38 loc) · 1.61 KB
/
Copy pathsetup.py
File metadata and controls
39 lines (38 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(
name='dmsl',
version='0.3',
author='Daniel Skinner',
url='http://dmsl.dasa.cc',
license = "MIT License",
packages = ["dmsl"],
requires = ["lxml", "cython"],
description='da Markup Language featuring html outlining via css-selectors, embedded python, and extensibility.',
long_description = """\
Features CSS selectors and indention for declaring page layout. Embed
python in your documents such as functions, lambda's, variable declarations,
for loops, list comprehensions, etc, writing it just as you would normally.
Filters that are linked to python function calls. An example of this is a
Django-style "block" and "extends". It's easy to write custom filters and functions.
Still under development.
Follow development at http://github.com/dasacc22/dmsl
""",
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Environment :: Web Environment",
],
cmdclass = {'build_ext': build_ext},
ext_modules = [ Extension("dmsl.cdoc", ["dmsl/cdoc.pyx"]),
Extension("dmsl.cdoc2", ["dmsl/cdoc2.pyx"]),
Extension("dmsl.cutils", ["dmsl/cutils.pyx"]),
Extension("dmsl.cfmt", ["dmsl/cfmt.pyx"])]
)