Slide 6
Slide 6 text
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']
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',
))