Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit ea94e85

Browse files
Version 1.0
1 parent 90c83d4 commit ea94e85

5 files changed

Lines changed: 13 additions & 24 deletions

File tree

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
global-exclude __pycache__
2+
global-exclude *.pyc
3+
global-exclude *.pyo

hal_codec/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import uritemplate
99

1010

11-
__version__ = "0.0.3"
11+
__version__ = "1.0.0"
1212

1313

1414
def _get_string(item, key):
@@ -192,6 +192,7 @@ def _parse_document(data, base_url=None):
192192

193193
class HALCodec(BaseCodec):
194194
media_type = "application/hal+json"
195+
supports = ['encoding', 'decoding']
195196

196197
def dump(self, document, indent=False, **kwargs):
197198
"""

requirements-unfrozen.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

requirements.txt

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
click==6.6
2-
coreapi==1.24.0
3-
coverage==4.1
4-
flake8==2.6.2
5-
itypes==1.1.0
6-
Jinja2==2.8
7-
MarkupSafe==0.23
8-
mccabe==0.5.0
9-
py==1.4.31
10-
pycodestyle==2.0.0
11-
pyflakes==1.2.3
12-
pytest==2.9.2
13-
requests==2.10.0
14-
simplejson==3.8.2
15-
uritemplate==0.6
1+
# Package requirements
2+
coreapi
3+
4+
# Testing requirements
5+
coverage
6+
flake8
7+
pytest

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_package_data(package):
6161
author_email='tom@tomchristie.com',
6262
packages=get_packages('hal_codec'),
6363
package_data=get_package_data('hal_codec'),
64-
install_requires=[],
64+
install_requires=['coreapi'],
6565
classifiers=[
6666
'Intended Audience :: Developers',
6767
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)