Skip to content

Commit 4b31c74

Browse files
Merge pull request #4 from kaos/pu-fix-setup-requirements
setup.py: go with the flow
2 parents be9d1da + 4ec8258 commit 4b31c74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import os
22
from setuptools import setup
33

4+
# https://caremad.io/2013/07/setup-vs-requirement/
5+
46
with open('./requirements.txt') as r:
5-
requirements = [line for line in r]
7+
# strip fixed version info from requirements file
8+
requirements = [line.split('=', 1)[0] for line in r]
69

710
setup(
811
name='gdapi-python',
9-
version='0.5.1',
12+
version='0.5.2',
1013
py_modules=['gdapi'],
1114
url='https://github.com/godaddy/gdapi-python',
1215
license='MIT Style',

0 commit comments

Comments
 (0)