From 2303db7f94361b034c0ea1179d7d26089d6989a7 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Tue, 6 Oct 2015 20:59:07 -0700 Subject: [PATCH] Updated repo url under graphql-python github community --- README.md | 14 +++++++++----- setup.py | 8 ++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e518c422..e8ed6633 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ -# Graphene: Pythonic GraphQL [![Build Status](https://travis-ci.org/syrusakbary/graphene.svg?branch=master)](https://travis-ci.org/syrusakbary/graphene) [![Coverage Status](https://coveralls.io/repos/syrusakbary/graphene/badge.svg?branch=master&service=github)](https://coveralls.io/github/syrusakbary/graphene?branch=master) +# Graphene: Pythonic GraphQL [![Build Status](https://travis-ci.org/graphql-python/graphene.svg?branch=master)](https://travis-ci.org/graphql-python/graphene) [![Coverage Status](https://coveralls.io/repos/graphql-python/graphene/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql-python/graphene?branch=master) This is a library to use GraphQL in a Pythonic and easy way. It maps the models/fields to internal GraphQLlib objects without effort. Including automatic [Django models](#djangorelay-schema) conversion. -*Note: This library requires installing [graphqllib](https://github.com/dittos/graphqllib) and [graphql-relay](https://github.com/syrusakbary/graphql-relay-py) external libraries.* +## Installation + +For instaling graphene, just run this command in your shell + +```bash +pip install graphene +``` + ## Usage @@ -13,9 +20,6 @@ Example code of a GraphQL schema using Graphene: ### Schema definition ```python -import graphene -# ... - class Character(graphene.Interface): id = graphene.IDField() name = graphene.StringField() diff --git a/setup.py b/setup.py index 6d3a686c..55654622 100644 --- a/setup.py +++ b/setup.py @@ -24,11 +24,11 @@ class PyTest(TestCommand): setup( name='graphene', - version='0.1', + version='0.1.0', description='Graphene: Python DSL for GraphQL', - url='https://github.com/syrusakbary/graphene', + url='https://github.com/graphql-python/graphene', author='Syrus Akbary', author_email='me@syrusakbary.com', @@ -55,8 +55,8 @@ setup( install_requires=[ 'six', 'blinker', - 'graphqllib', - 'graphql-relay' + 'graphql-core==0.1a0', + 'graphql-relay==0.1.2' ], tests_require=['pytest>=2.7.2'], extras_require={