File tree 5 files changed +43
-29
lines changed
5 files changed +43
-29
lines changed Original file line number Diff line number Diff line change
1
+ Introduction
2
+ =============
3
+
4
+ Spanish Public Administrations' websites must have a
5
+ so called "Contractors profile" in which the Administration
6
+ must publish all information about the different contracts
7
+ and its assignation procedure: public notice of it, the document
8
+ with the contract grant, the signature of the contract, ...
9
+
10
+ Each Administration wants to change the way to show this
11
+ information: PDF files, HTML text-fields, ... so we tried to
12
+ create the most generic product as possible and then let each
13
+ project change it.
14
+
15
+
16
+ Credits and legislation
17
+ =======================
18
+
19
+ - `Law 30/2007 of Public Sector Contracts (Ley 30/2007 de Contratos del Sector Público) `_
20
+
21
+
22
+ Contributors
23
+ =============
24
+
25
+ - Lur Ibargutxi <libargutxi@codesyntax.com>, Main developer
26
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
from Acquisition import aq_parent
2
+ from cs .publiccontracts import MessageFactory as _
2
3
from five import grok
4
+ from plone .app .textfield import RichText
3
5
from plone .directives import dexterity , form
4
6
from plone .namedfile .interfaces import IImageScaleTraversable
5
7
from zope import schema
6
- from cs .publiccontracts import MessageFactory as _
7
- from plone .app .textfield import RichText
8
8
from zope .interface import alsoProvides
9
9
# Interface class; used to define content-type schema.
10
10
Original file line number Diff line number Diff line change 1
1
from Acquisition import aq_inner
2
- from Products .CMFCore .utils import getToolByName
3
- from zope .schema .vocabulary import SimpleVocabulary
4
- from zope .interface import implements
5
- from zope .schema .interfaces import IVocabularyFactory
6
- from zope import schema
2
+ from collective .z3cform .datagridfield import DataGridFieldFactory , DictRow
7
3
from cs .publiccontracts import MessageFactory as _
4
+ from cs .publiccontracts .contract import IContract
8
5
from five import grok
9
6
from plone .directives import dexterity , form
10
- from plone .namedfile .interfaces import IImageScaleTraversable
11
- from collective .z3cform .datagridfield import DataGridFieldFactory , DictRow
12
- from zope .interface import Interface
13
7
from plone .namedfile .field import NamedBlobFile
14
- from cs .publiccontracts .contract import IContract
8
+ from plone .namedfile .interfaces import IImageScaleTraversable
9
+ from Products .CMFCore .utils import getToolByName
15
10
from Products .Five import BrowserView
11
+ from zope import schema
12
+ from zope .interface import implements
13
+ from zope .interface import Interface
14
+ from zope .schema .interfaces import IVocabularyFactory
15
+ from zope .schema .vocabulary import SimpleVocabulary
16
16
17
17
18
18
class IContractTypesRowSchema (Interface ):
Original file line number Diff line number Diff line change 6
6
setup (name = 'cs.publiccontracts' ,
7
7
version = version ,
8
8
description = "Public Contracs Product" ,
9
- long_description = open ("README.txt " ).read () + "\n " +
9
+ long_description = open ("README.rst " ).read () + "\n " +
10
10
open (os .path .join ("docs" , "HISTORY.txt" )).read (),
11
11
# Get more strings from
12
12
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
26
26
zip_safe = False ,
27
27
install_requires = [
28
28
'setuptools' ,
29
- #'five.grok',
30
- #'plone.app.dexterity [grok, relations]',
31
- #'plone.namedfile [blobs]',
29
+ 'five.grok' ,
30
+ 'plone.app.dexterity [grok, relations]' ,
31
+ 'plone.namedfile [blobs]' ,
32
+ 'collective.z3cform.datagridfield'
32
33
# -*- Extra requirements: -*-
33
34
],
34
35
entry_points = """
35
36
# -*- Entry points: -*-
36
37
[z3c.autoinclude.plugin]
37
38
target = plone
38
- """ ,
39
- # The next two lines may be deleted after you no longer need
40
- # addcontent support from paster and before you distribute
41
- # your package.
42
- setup_requires = ["PasteScript" ],
43
- paster_plugins = ["ZopeSkel" ],
44
-
45
- )
39
+ """ ,)
You can’t perform that action at this time.
0 commit comments