Louis Taylor
34f325a166
Clean up setup.py and add requirements.txt
...
Previously setup.py had information about which versions of libraries to depend
on based on the python version. Since we don't need to support those versions
anymore (2.5, 2.6 and 3.3), these dependancies can be listed in a
requirements.txt file. This can be set up to sync with global-requirements at
a later date.
ipaddr is added to requirements-py2.txt, since it is only needed on python
version lower than 3.3.
Change-Id: I90c4cbd7961ffdf6769578986c272bf9f5721d77
2015-04-21 23:42:59 +01:00
Ken'ichi Ohmichi
f191f32a72
Add IntegerType and some classes for validation
...
This patch adds the following classes for API parameter validation:
IntegerType
* Value range validation (minimum, maximum)
StringType
* String length validation (min_length, max_length)
* Allowed string (pattern): e.g. should contain [a-zA-Z0-9_.- ] only.
IPv4AddressType
* String format validation for IPv4
IPv6AddressType
* String format validation for IPv6
UuidType
* String format validation for UUID
Partially implements blueprint nova-api-validation-fw
Closes-Bug: 1245795
Change-Id: I5aead6c51b74464681e4ac41fa2a9c66c09adab2
2013-11-02 04:12:30 +09:00
Ryan Petrello
3c4b0d0531
Require the ordereddict package for py26.
...
Change-Id: If594a480ecb38974259ecf3df7ca9c30e2128501
2013-09-05 16:21:59 -04:00
Julien Danjou
59df6e10f8
Switch to pbr
...
Change-Id: I607df2ed82cc7a6497e295daaf5330fd2558bea9
2013-08-21 12:16:11 +02:00
Christophe de Vienne
e295d01c16
Still need to specify the requires int the setup.py, as d2to1 does not seem to handle python_version dependant metadata
2012-09-17 23:25:13 +02:00
Christophe de Vienne
8d61bd983e
Now using d2to1, which simplifies a lot the setup.py
...
--HG--
extra : rebase_source : 1c80ea35061f668ba6d2b72c753e83aaac0e4532
2012-09-17 23:03:19 +02:00
Christophe de Vienne
d81c322244
Add wsme.tests to the egg dist
2012-05-12 22:51:51 +02:00
Christophe de Vienne
fb9134139c
Make the webob requirements more precise depending on the python version
...
Add Python 3.2 to the classifiers
2012-04-26 10:24:50 +02:00
Christophe de Vienne
5239a8fc93
webob 1.2b4 is not out yet...
2012-04-26 00:55:54 +02:00
Christophe de Vienne
0b3601b853
Require the latest WebOb for python 3
2012-04-26 00:45:03 +02:00
Christophe de Vienne
6d92008e46
test_types unit tests now successfully pass under python 3.2
2012-04-24 10:47:27 +02:00
Christophe de Vienne
dd65884067
Adding the precise Python versions and implementation classifiers
2012-04-23 11:34:18 +02:00
Christophe de Vienne
ac30cd20ef
Attempt a rename of README to README.rst to force bb rendering
...
--HG--
rename : README => README.rst
2012-04-23 11:17:47 +02:00
Christophe de Vienne
f894097536
load wsme/release.py in a python 3 friendly way
2012-03-29 18:52:12 +02:00
Christophe de Vienne
9ddfc01efb
Now read the long_description and the doc introduction from the README file.
2011-10-22 15:59:24 +02:00
Christophe de Vienne
3de7a3a1e7
Remove the soap protocol (I am moving it to wsme-soap
2011-10-13 16:59:34 +02:00
Christophe de Vienne
e051877a5a
Protocols are now found through entry points
2011-10-12 23:18:27 +02:00
Christophe de Vienne
bbdc711ce0
Completed the packaging, we should now be able to do an alpha release
2011-10-02 22:03:53 +02:00
Christophe de Vienne
459b2fe099
Completing setup.py
2011-10-02 21:34:05 +02:00
Christophe de Vienne
ffd8758b90
completed the setup informations
2011-10-01 14:15:44 +02:00
Christophe de Vienne
3a2280bd6a
Move as much as possible the request handling code out of the protocol
2011-09-21 22:20:50 +02:00
Christophe de Vienne
dbb7300723
Lowercased the project name
2011-09-19 10:24:56 +02:00
Christophe de Vienne
61e5980636
Renamed EWS to WSME because ews is already taken on pypi
...
--HG--
rename : ews/__init__.py => wsme/__init__.py
rename : ews/controller.py => wsme/controller.py
rename : ews/rest.py => wsme/rest.py
rename : ews/restjson.py => wsme/restjson.py
rename : ews/restxml.py => wsme/restxml.py
rename : ews/soap.py => wsme/soap.py
rename : ews/tests/__init__.py => wsme/tests/__init__.py
rename : ews/tests/test_controller.py => wsme/tests/test_controller.py
2011-09-18 21:43:51 +02:00
Christophe de Vienne
127a245d7e
A first working implemetation for the core controller code
2011-09-18 21:37:40 +02:00