| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 96e341e commit 0dd1ede
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1,5 @@ | |||
| 1 | 1 | *.pyc | |
| 2 | + build/ | ||
| 3 | + dist/ | ||
| 4 | + MANIFEST | ||
| 5 | + .*.swp | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,24 @@ | |||
| 1 | + #!/usr/bin/python | ||
| 2 | + # -*- coding: utf-8 -*- | ||
| 3 | + | ||
| 4 | + from distutils.core import setup | ||
| 5 | + | ||
| 6 | + def get_version(): | ||
| 7 | + f = open('gitlab.py') | ||
| 8 | + try: | ||
| 9 | + for line in f: | ||
| 10 | + if line.startswith('__version__'): | ||
| 11 | + return eval(line.split('=')[-1]) | ||
| 12 | + finally: | ||
| 13 | + f.close() | ||
| 14 | + | ||
| 15 | + setup(name='python-gitlab', | ||
| 16 | + version=get_version(), | ||
| 17 | + description='Interact with GitLab API', | ||
| 18 | + long_description='Interact with GitLab API', | ||
| 19 | + author='Gauvain Pocentek', | ||
| 20 | + author_email='gauvain@pocentek.net', | ||
| 21 | + license='LGPLv3', | ||
| 22 | + url='https://github.com/gpocentek/python-gitlab', | ||
| 23 | + py_modules=['gitlab'], | ||
| 24 | + ) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments