Skip to content

Commit a1193a5

Browse files
committed
README and imports order alphabetically
1 parent 1c0e794 commit a1193a5

File tree

5 files changed

+43
-29
lines changed

5 files changed

+43
-29
lines changed

README.rst

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+

README.txt

-6
This file was deleted.

cs/publiccontracts/contract.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from Acquisition import aq_parent
2+
from cs.publiccontracts import MessageFactory as _
23
from five import grok
4+
from plone.app.textfield import RichText
35
from plone.directives import dexterity, form
46
from plone.namedfile.interfaces import IImageScaleTraversable
57
from zope import schema
6-
from cs.publiccontracts import MessageFactory as _
7-
from plone.app.textfield import RichText
88
from zope.interface import alsoProvides
99
# Interface class; used to define content-type schema.
1010

cs/publiccontracts/contractsfolder.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
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
73
from cs.publiccontracts import MessageFactory as _
4+
from cs.publiccontracts.contract import IContract
85
from five import grok
96
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
137
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
1510
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
1616

1717

1818
class IContractTypesRowSchema(Interface):

setup.py

+6-12
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setup(name='cs.publiccontracts',
77
version=version,
88
description="Public Contracs Product",
9-
long_description=open("README.txt").read() + "\n" +
9+
long_description=open("README.rst").read() + "\n" +
1010
open(os.path.join("docs", "HISTORY.txt")).read(),
1111
# Get more strings from
1212
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
@@ -26,20 +26,14 @@
2626
zip_safe=False,
2727
install_requires=[
2828
'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'
3233
# -*- Extra requirements: -*-
3334
],
3435
entry_points="""
3536
# -*- Entry points: -*-
3637
[z3c.autoinclude.plugin]
3738
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+
""",)

0 commit comments

Comments
 (0)