This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsetup.py
86 lines (64 loc) · 2.05 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/usr/bin/env python
"""
========
Octogit
========
Do you hate this screen? Do you hate switching screens to see issues? Do you love the
terminal? Then you will love this project.
During the development of this plugin Github smartened up and introduced a new way to
create repositories. Hopefully people who like to stay in the terminal will enjoy this
little cli app.
.. image:: https://github.com/myusuf3/octogit/raw/gh-pages/assets/img/readme_image.png
Installation
============
`pip install octogit`
How to Octogit
==============
Go to http://myusuf3.github.com/octogit
Contribute
==========
If you would like to contribute simply fork this project and add yourself to the
AUTHORS.txt along with some changes hopefully and submit a pull request.
"""
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from octogit import __version__
def publish():
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.exit()
dependencies = ['clint2','requests>=1.0', 'docopt', 'six']
setup(
name='octogit',
version=".".join(str(x) for x in __version__),
description='giving git tentacles to work better with github',
url='https://github.com/myusuf3/octogit',
author='Mahdi Yusuf',
author_email='yusuf.mahdi@gmail.com',
install_requires=dependencies,
tests_require=['tox==1.3'],
packages=['octogit', ],
license='MIT License',
long_description=open('README.rst').read(),
entry_points={
'console_scripts': [
'octogit = octogit.cli:begin',
],
},
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
),
)