File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 67
67
cleanup.sh
68
68
* _example.py
69
69
.idea
70
+ register.py
71
+ README.txt
Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ 1.2.4] - 2016-3-02
6
+ ### Fixed
7
+ - Getting README to display in PyPi
8
+
5
9
## [ 1.2.3] - 2016-3-01
6
10
### Added
7
11
- Can now reuse part of the chaining construction for multiple urls/requests
Original file line number Diff line number Diff line change 1
1
import sys
2
+ import os
2
3
from setuptools import setup
3
4
5
+ long_description = 'Please see our GitHub README'
6
+ if os .path .exists ('README.txt' ):
7
+ long_description = open ('README.txt' ).read ()
4
8
5
9
def getRequires ():
6
10
deps = []
@@ -9,7 +13,7 @@ def getRequires():
9
13
return deps
10
14
11
15
base_url = 'https://github.com/sendgrid/'
12
- version = '1.2.3 '
16
+ version = '1.2.4 '
13
17
setup (
14
18
name = 'python_http_client' ,
15
19
version = version ,
@@ -20,7 +24,7 @@ def getRequires():
20
24
packages = ['python_http_client' ],
21
25
license = 'MIT' ,
22
26
description = 'HTTP REST client, simplified for Python' ,
23
- long_description = 'Check out the README at GitHub' ,
27
+ long_description = long_description ,
24
28
install_requires = getRequires (),
25
29
keywords = [
26
30
'REST' ,
You can’t perform that action at this time.
0 commit comments