Skip to content

Commit 01ade72

Browse files
committed
fixed the requirements auto install from setup.py
1 parent 5f0136c commit 01ade72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/python
22
# -*- coding: utf-8 -*-
33

4-
from distutils.core import setup
4+
from setuptools import setup
55

66
def get_version():
77
f = open('gitlab.py')
@@ -22,6 +22,7 @@ def get_version():
2222
url='https://github.com/gpocentek/python-gitlab',
2323
py_modules=['gitlab'],
2424
scripts=['gitlab'],
25+
install_requires=['requests'],
2526
classifiers=[
2627
'Development Status :: 5 - Production/Stable',
2728
'Environment :: Console',

0 commit comments

Comments
 (0)