|
1 |
| -############################################################################## |
2 |
| -# |
3 |
| -# Copyright (c) 2010 Agendaless Consulting and Contributors. |
4 |
| -# All Rights Reserved. |
5 |
| -# |
6 |
| -# This software is subject to the provisions of the BSD-like license at |
7 |
| -# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany |
8 |
| -# this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL |
9 |
| -# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, |
10 |
| -# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND |
11 |
| -# FITNESS FOR A PARTICULAR PURPOSE |
12 |
| -# |
13 |
| -############################################################################## |
14 |
| - |
15 |
| -import os |
| 1 | +""" |
| 2 | +Necessary for pip install -e, and python setup.py check |
| 3 | +""" |
16 | 4 |
|
17 | 5 | from setuptools import setup
|
18 |
| -from setuptools import find_packages |
19 |
| - |
20 |
| -here = os.path.abspath(os.path.dirname(__file__)) |
21 |
| - |
22 |
| -try: |
23 |
| - with open(os.path.join(here, 'README.rst')) as f: |
24 |
| - README = f.read() |
25 |
| - with open(os.path.join(here, 'CHANGES.rst')) as f: |
26 |
| - CHANGES = f.read() |
27 |
| -except: |
28 |
| - README = '' |
29 |
| - CHANGES = '' |
30 |
| - |
31 |
| -testing_extras = [ |
32 |
| - 'pytest', |
33 |
| - 'coverage', |
34 |
| - 'pytest-cov', |
35 |
| -] |
36 |
| - |
37 |
| -docs_extras = [ |
38 |
| - 'Sphinx', |
39 |
| - 'repoze.sphinx.autointerface' |
40 |
| -] |
41 | 6 |
|
42 |
| -setup(name='venusian', |
43 |
| - version='1.2.0', |
44 |
| - description='A library for deferring decorator actions', |
45 |
| - long_description=README + '\n\n' + CHANGES, |
46 |
| - classifiers=[ |
47 |
| - "Development Status :: 6 - Mature", |
48 |
| - "Intended Audience :: Developers", |
49 |
| - "Programming Language :: Python", |
50 |
| - "Programming Language :: Python :: 2.7", |
51 |
| - "Programming Language :: Python :: 3", |
52 |
| - "Programming Language :: Python :: 3.4", |
53 |
| - "Programming Language :: Python :: 3.5", |
54 |
| - "Programming Language :: Python :: 3.6", |
55 |
| - "Programming Language :: Python :: 3.7", |
56 |
| - "Programming Language :: Python :: Implementation :: CPython", |
57 |
| - "Programming Language :: Python :: Implementation :: PyPy", |
58 |
| - ], |
59 |
| - keywords='web wsgi zope', |
60 |
| - author="Chris McDonough, Agendaless Consulting", |
61 |
| - |
62 |
| - url="https://pylonsproject.org", |
63 |
| - license="BSD-derived (http://www.repoze.org/LICENSE.txt)", |
64 |
| - packages=find_packages(), |
65 |
| - include_package_data=True, |
66 |
| - zip_safe=False, |
67 |
| - extras_require={ |
68 |
| - 'testing': testing_extras, |
69 |
| - 'docs': docs_extras, |
70 |
| - }, |
71 |
| - tests_require=[], |
72 |
| - install_requires=[], |
73 |
| - test_suite='venusian', |
74 |
| - entry_points="""\ |
75 |
| - """ |
76 |
| - ) |
| 7 | +setup() |
0 commit comments