~ubuntu-branches/ubuntu/saucy/migrate/saucy-proposed

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner
  • Date: 2010-07-12 00:24:57 UTC
  • mfrom: (1.1.5 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100712002457-4j2fdmco4u9kqzm5
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
 
3
import os
 
4
 
3
5
try:
4
6
    from setuptools import setup, find_packages
5
7
except ImportError:
7
9
    use_setuptools()
8
10
    from setuptools import setup, find_packages
9
11
 
10
 
try:
11
 
    import buildutils
12
 
except ImportError:
13
 
    pass
14
 
 
15
 
test_requirements = ['nose >= 0.10']
16
 
required_deps = ['sqlalchemy >= 0.5', 'decorator']
 
12
required_deps = ['sqlalchemy >= 0.5', 'decorator', 'tempita']
 
13
readme_file = open(os.path.join(os.path.dirname(os.path.abspath(__file__)),
 
14
                                'README'))
17
15
 
18
16
setup(
19
17
    name = "sqlalchemy-migrate",
20
 
    version = "0.5.4",
21
 
    packages = find_packages(exclude=['test*']),
 
18
    version = "0.6",
 
19
    packages = find_packages(exclude=["migrate.tests*"]),
22
20
    include_package_data = True,
23
21
    description = "Database schema migration for SQLAlchemy",
24
 
    long_description = """
25
 
Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with database schema changes in `SQLAlchemy <http://sqlalchemy.org>`_ projects.
26
 
 
27
 
Migrate extends SQLAlchemy to have database changeset handling. It provides a database change repository mechanism which can be used from the command line as well as from inside python code.
28
 
""",
29
 
 
 
22
    long_description = readme_file.read(),
30
23
    install_requires = required_deps,
31
 
    tests_require = test_requirements,
32
24
    extras_require = {
33
25
        'docs' : ['sphinx >= 0.5'],
34
26
    },
38
30
    maintainer = "Jan Dittberner",
39
31
    maintainer_email = "jan@dittberner.info",
40
32
    license = "MIT",
41
 
 
42
33
    entry_points = """
43
34
    [console_scripts]
44
35
    migrate = migrate.versioning.shell:main