setup.py :  » Database » PyTable » pytable-0.8.20a » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Database » PyTable 
PyTable » pytable 0.8.20a » setup.py
#!/usr/bin/env python
"""Installs properties using distutils

Run:
  python setup.py install
to install the packages from the source archive.
"""
import os, sys
from setuptools import setup,find_packages,Extension

if __name__ == "__main__":
  if sys.hexversion >= 0x2030000:
    # work around distutils complaints under Python 2.2.x
    extraArguments = {
      'classifiers': [
        """License :: OSI Approved :: BSD License""",
        """Programming Language :: Python""",
        """Topic :: Software Development :: Libraries :: Python Modules""",
        """Intended Audience :: Developers""",
        """Operating System :: OS Independent""",
        """Topic :: Database""",
      ],
      'download_url': "https://sourceforge.net/project/showfiles.php?group_id=87033",
      'keywords': 'database,postgresql,mysql,db-api,object-relational mapper,basicproperty,property,descriptor,schema,query,sql',
      'long_description' : """BasicProperty-based RDBMS Wrapper

PyTable provides a schema-based mechanism for constructing
database-based applications.  Included is a fairly elegant
SQLQuery object which makes creation of complex SQL in response
to application requirements somewhat easier, as well as
classes allowing the modelling of database schemas.

Can read MySQL and PostgreSQL schemas from live databases.
Can build databases from schemas.
Does not attempt to abstract away differences in SQL syntax.
Provides optional object-oriented row-wrappers with
BasicProperty properties defining fields.
""",
      'platforms': ['Any'],
    }
  else:
    extraArguments = {
    }

  setup (
    name = "pytable",
    version = "0.8.20a",
    description = "BasicProperty-based RDBMS Wrapper",
    author = "Mike C. Fletcher",
    author_email = "mcfletch@users.sourceforge.net",
    url = "http://pytable.sourceforge.net/",
    license = "BSD-style, see license.txt for details",
    
    install_requires = """basicproperty >= 0.6.9a""",
    
    packages = find_packages(),
    include_package_data = True,
    zip_safe = False,
    **extraArguments
  )
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.