source: rattail-demo/setup.py @ 5c3a959

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

Remove CORE-POS web views logic

all the views are still visible in our app, but the view logic belongs in
tailbone-corepos now

  • 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    'tailbone-corepos',                 # 0.1.0
55    'xlrd',                             # 1.0.0
56]
57
58
59setup(
60    name = "rattail-demo",
61    version = __version__,
62    author = "Lance Edgar",
63    author_email = "lance@edbob.org",
64    url = "https://rattailproject.org/",
65    description = "Rattail Software Demo",
66    long_description = README,
67
68    classifiers = [
69        'Development Status :: 3 - Alpha',
70        'Intended Audience :: Developers',
71        'Natural Language :: English',
72        'Operating System :: OS Independent',
73        'Programming Language :: Python',
74        'Programming Language :: Python :: 2.7',
75        'Topic :: Office/Business',
76        'Topic :: Software Development :: Libraries :: Python Modules',
77    ],
78
79    install_requires = requires,
80    packages = find_packages(),
81
82    entry_points = {
83        'paste.app_factory': [
84            'main = rattail_demo.web.app:main',
85            'webapi = rattail_demo.web.webapi:main',
86        ],
87        'rattail.config.extensions': [
88            'rattail-demo = rattail_demo.config:DemoConfigExtension',
89        ],
90    },
91)
Note: See TracBrowser for help on using the repository browser.