source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/gluon/packages/dal/setup.py

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 2.0 KB
Line 
1"""
2pyDAL is a pure Python Database Abstraction Layer.
3
4It dynamically generates the SQL in real time using the specified dialect for
5the database back end, so that you do not have to write SQL code or learn
6different SQL dialects (the term SQL is used generically), and your code will
7be portable among different types of databases.
8
9pyDAL comes from the original web2py's DAL, with the aim of being
10wide-compatible. pyDAL doesn't require web2py and can be used in any
11Python context.
12
13
14Links
15-----
16* `website <https://github.com/web2py/pydal>`_
17* `documentation <http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer>`_
18"""
19
20import re
21import ast
22from setuptools import setup
23
24_version_re = re.compile(r"__version__\s+=\s+(.*)")
25
26with open("pydal/__init__.py", "rb") as f:
27    version = str(
28        ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))
29    )
30
31setup(
32    name="pydal",
33    version=version,
34    url="https://github.com/web2py/pydal",
35    license="BSD",
36    author="Massimo Di Pierro",
37    author_email="massimo.dipierro@gmail.com",
38    maintainer="Massimo Di Pierro",
39    maintainer_email="massimo.dipierro@gmail.com",
40    description="a pure Python Database Abstraction Layer (for python version 2.7 and 3.x)",
41    long_description=__doc__,
42    packages=[
43        "pydal",
44        "pydal.adapters",
45        "pydal.dialects",
46        "pydal.helpers",
47        "pydal.parsers",
48        "pydal.representers",
49        "pydal.contrib",
50    ],
51    include_package_data=True,
52    zip_safe=False,
53    platforms="any",
54    classifiers=[
55        "Development Status :: 5 - Production/Stable",
56        "Environment :: Web Environment",
57        "Intended Audience :: Developers",
58        "License :: OSI Approved :: BSD License",
59        "Operating System :: OS Independent",
60        "Programming Language :: Python",
61        "Programming Language :: Python :: 2",
62        "Programming Language :: Python :: 3",
63        "Topic :: Database :: Front-Ends",
64        "Topic :: Software Development :: Libraries :: Python Modules",
65    ],
66)
Note: See TracBrowser for help on using the repository browser.