annotate setup.py @ 104:ae8df6457f05

begin to toxify
author Jeff Hammel <k0scist@gmail.com>
date Thu, 30 Mar 2017 19:37:34 -0700
parents 6b79c13bb42b
children 1f84c6def8bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
c382bdd01751 directory indicator
Jeff Hammel <k0scist@gmail.com>
parents: 85
diff changeset
1 from setuptools import setup
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
2
49
ac693b8df32c add idea of formats and json format
Jeff Hammel <jhammel@mozilla.com>
parents: 47
diff changeset
3 # use README as long_description
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
4 try:
102
2b38f9a43f84 py 3 compat
Jeff Hammel <k0scist@gmail.com>
parents: 101
diff changeset
5 description = open("README.txt").read()
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
6 except IOError:
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
7 description = ''
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
8
103
6b79c13bb42b untangle `decoupage-templates` console script + minor cleanup + version bump
Jeff Hammel <k0scist@gmail.com>
parents: 102
diff changeset
9 version = '0.14.2'
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
10
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
11 setup(name='decoupage',
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
12 version=version,
18
ebc1a802f9b8 update documentation
k0s <k0scist@gmail.com>
parents: 17
diff changeset
13 description="Decoupage is the art of decorating an object by gluing colored paper cutouts onto it in combination with special paint effects ... The software decoupage lets you stitch together index pages from filesystem content",
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
14 long_description=description,
103
6b79c13bb42b untangle `decoupage-templates` console script + minor cleanup + version bump
Jeff Hammel <k0scist@gmail.com>
parents: 102
diff changeset
15 classifiers=[],
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
16 author='Jeff Hammel',
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
17 author_email='k0scist@gmail.com',
81
bb289832e061 bump version
Jeff Hammel <jhammel@mozilla.com>
parents: 79
diff changeset
18 url='http://k0s.org/hg/decoupage',
37
40912f3e0559 alter setup metadata
Jeff Hammel <jhammel@mozilla.com>
parents: 35
diff changeset
19 license="GPL",
88
c382bdd01751 directory indicator
Jeff Hammel <k0scist@gmail.com>
parents: 85
diff changeset
20 packages=['decoupage'],
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
21 include_package_data=True,
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
22 zip_safe=False,
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
23 install_requires=[
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
24 # -*- Extra requirements: -*-
70
262fb90a54b4 make template loading lenient and other fixes; bump version
Jeff Hammel <jhammel@mozilla.com>
parents: 67
diff changeset
25 'WebOb',
58
1275124ed767 depend on py2rssgen; not hooked up yet
Jeff Hammel <jhammel@mozilla.com>
parents: 49
diff changeset
26 'Paste',
1275124ed767 depend on py2rssgen; not hooked up yet
Jeff Hammel <jhammel@mozilla.com>
parents: 49
diff changeset
27 'PasteScript',
1275124ed767 depend on py2rssgen; not hooked up yet
Jeff Hammel <jhammel@mozilla.com>
parents: 49
diff changeset
28 'genshi',
100
82ee67b95a0c sort by index order now works
Jeff Hammel <k0scist@gmail.com>
parents: 99
diff changeset
29 'martINI>=0.4.2',
61
f5ca54558292 remove previous hacks
Jeff Hammel <jhammel@mozilla.com>
parents: 60
diff changeset
30 'contenttransformer>=0.3.3',
58
1275124ed767 depend on py2rssgen; not hooked up yet
Jeff Hammel <jhammel@mozilla.com>
parents: 49
diff changeset
31 'PyRSS2Gen',
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
32 ],
58
1275124ed767 depend on py2rssgen; not hooked up yet
Jeff Hammel <jhammel@mozilla.com>
parents: 49
diff changeset
33 dependency_links=['http://www.dalkescientific.com/Python/PyRSS2Gen-1.0.0.tar.gz#egg=PyRSS2Gen'],
104
ae8df6457f05 begin to toxify
Jeff Hammel <k0scist@gmail.com>
parents: 103
diff changeset
34 tests_require=['tox'],
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
35 entry_points="""
8
16d41af2d8ef add ability to print templates
k0s <k0scist@gmail.com>
parents: 6
diff changeset
36 [console_scripts]
93
bdb9e39abd84 make a proper python script for discovery and extension
Jeff Hammel <k0scist@gmail.com>
parents: 88
diff changeset
37 create-decoupage-index = decoupage.create_index:main
8
16d41af2d8ef add ability to print templates
k0s <k0scist@gmail.com>
parents: 6
diff changeset
38 decoupage-templates = decoupage.templates:main
9
ec2d0d850b83 add ability to print formatters with decoupage-formatters console_script
k0s <k0scist@gmail.com>
parents: 8
diff changeset
39 decoupage-formatters = decoupage.formatters:main
84
95820b36d7e3 cli client
Jeff Hammel <jhammel@mozilla.com>
parents: 82
diff changeset
40 decoupage = decoupage.cli:main
8
16d41af2d8ef add ability to print templates
k0s <k0scist@gmail.com>
parents: 6
diff changeset
41
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
42 [paste.app_factory]
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
43 main = decoupage.factory:factory
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
44
49
ac693b8df32c add idea of formats and json format
Jeff Hammel <jhammel@mozilla.com>
parents: 47
diff changeset
45 [decoupage.formats]
59
07cf168aa98c make formats classes that can take arguments
Jeff Hammel <jhammel@mozilla.com>
parents: 58
diff changeset
46 json = decoupage.formats:JSON
60
cf18ea0313f9 add some RSS
Jeff Hammel <jhammel@mozilla.com>
parents: 59
diff changeset
47 rss = decoupage.formats:RSS
49
ac693b8df32c add idea of formats and json format
Jeff Hammel <jhammel@mozilla.com>
parents: 47
diff changeset
48
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
49 [decoupage.formatters]
16
985b3a7e0e88 add formatters to include css and genshi templates
k0s <k0scist@gmail.com>
parents: 14
diff changeset
50 all = decoupage.formatters:All
985b3a7e0e88 add formatters to include css and genshi templates
k0s <k0scist@gmail.com>
parents: 14
diff changeset
51 css = decoupage.formatters:CSS
79
a8a74f6bcf93 add some dates and fix some bugs!
Jeff Hammel <jhammel@mozilla.com>
parents: 74
diff changeset
52 datestamp = decoupage.formatters:Datestamp
88
c382bdd01751 directory indicator
Jeff Hammel <k0scist@gmail.com>
parents: 85
diff changeset
53 directory = decoupage.formatters:DirectoryIndicator
32
983c13e1b71f included a links formatter; restructure index template
k0s <k0scist@gmail.com>
parents: 26
diff changeset
54 describe = decoupage.formatters:FilenameDescription
33
e384d4569ac3 include components necessary to make decoupage feel almost like a framework
k0s <k0scist@gmail.com>
parents: 32
diff changeset
55 icon = decoupage.formatters:Favicon
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
56 ignore = decoupage.formatters:Ignore
16
985b3a7e0e88 add formatters to include css and genshi templates
k0s <k0scist@gmail.com>
parents: 14
diff changeset
57 include = decoupage.formatters:Include
32
983c13e1b71f included a links formatter; restructure index template
k0s <k0scist@gmail.com>
parents: 26
diff changeset
58 links = decoupage.formatters:Links
45
650e1b62a628 add order formatter (untested)
Jeff Hammel <jhammel@mozilla.com>
parents: 44
diff changeset
59 order = decoupage.formatters:Order
44
Jeff Hammel <jhammel@mozilla.com>
parents: 38
diff changeset
60 scripts = decoupage.formatters:JavaScript
33
e384d4569ac3 include components necessary to make decoupage feel almost like a framework
k0s <k0scist@gmail.com>
parents: 32
diff changeset
61 sort = decoupage.formatters:Sort
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
62 title = decoupage.formatters:TitleDescription
35
20e3d138dc98 better way of doing up; this breaks old behaviour so incrementing version
k0s <k0scist@gmail.com>
parents: 33
diff changeset
63 up = decoupage.formatters:Up
0
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
64 """,
fa2005f769eb adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
k0s <k0scist@gmail.com>
parents:
diff changeset
65 )
70
262fb90a54b4 make template loading lenient and other fixes; bump version
Jeff Hammel <jhammel@mozilla.com>
parents: 67
diff changeset
66