source: rattail-demo/setup.py @ d42f6a0

Last change on this file since d42f6a0 was d42f6a0, checked in by Lance Edgar <ledgar@…>, 8 months ago

Add rattail dependency, for sake of eager upgrades

to bring in sqlalchemy-continuum upgrades etc.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1# -*- coding: utf-8 -*-
2"""
3Setup script for Rattail Demo
4"""
5
6from __future__ import unicode_literals, absolute_import
7
8import os
9from setuptools import setup, find_packages
10
11
12here = os.path.abspath(os.path.dirname(__file__))
13exec(open(os.path.join(here, 'rattail_demo', '_version.py')).read())
14README = open(os.path.join(here, 'README.rst')).read()
15
16
17requires = [
18    #
19    # Version numbers within comments below have specific meanings.
20    # Basically the 'low' value is a "soft low," and 'high' a "soft high."
21    # In other words:
22    #
23    # If either a 'low' or 'high' value exists, the primary point to be
24    # made about the value is that it represents the most current (stable)
25    # version available for the package (assuming typical public access
26    # methods) whenever this project was started and/or documented.
27    # Therefore:
28    #
29    # If a 'low' version is present, you should know that attempts to use
30    # versions of the package significantly older than the 'low' version
31    # may not yield happy results.  (A "hard" high limit may or may not be
32    # indicated by a true version requirement.)
33    #
34    # Similarly, if a 'high' version is present, and especially if this
35    # project has laid dormant for a while, you may need to refactor a bit
36    # when attempting to support a more recent version of the package.  (A
37    # "hard" low limit should be indicated by a true version requirement
38    # when a 'high' version is present.)
39    #
40    # In any case, developers and other users are encouraged to play
41    # outside the lines with regard to these soft limits.  If bugs are
42    # encountered then they should be filed as such.
43    #
44    # package                           # low                   high
45
46    # TODO: can remove this once tailbone requires it
47    'pyramid_retry',                    # 1.0
48
49    'invoke',                           # 0.22.1
50    'psycopg2',                         # 2.6.2
51    'rattail[db]',                      # 0.9.86
52    'rattail-corepos',                  # 0.1.0
53    'Tailbone',                         # 0.5.49
54    'xlrd',                             # 1.0.0
55]
56
57
58setup(
59    name = "rattail-demo",
60    version = __version__,
61    author = "Lance Edgar",
62    author_email = "lance@edbob.org",
63    url = "https://rattailproject.org/",
64    description = "Rattail Software Demo",
65    long_description = README,
66
67    classifiers = [
68        'Development Status :: 3 - Alpha',
69        'Intended Audience :: Developers',
70        'Natural Language :: English',
71        'Operating System :: OS Independent',
72        'Programming Language :: Python',
73        'Programming Language :: Python :: 2.7',
74        'Topic :: Office/Business',
75        'Topic :: Software Development :: Libraries :: Python Modules',
76    ],
77
78    install_requires = requires,
79    packages = find_packages(),
80
81    entry_points = {
82        'paste.app_factory': [
83            'main = rattail_demo.web.app:main',
84            'webapi = rattail_demo.web.webapi:main',
85        ],
86        'rattail.config.extensions': [
87            'rattail-demo = rattail_demo.config:DemoConfigExtension',
88        ],
89    },
90)
Note: See TracBrowser for help on using the repository browser.