You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

62 lines
1.5 KiB
Python

#!/usr/bin/env python
from setuptools import setup, find_packages
import howto
import os
def read(*names):
values = dict()
extensions = ['.txt', '.rst']
for name in names:
value = ''
for extension in extensions:
filename = name + extension
if os.path.isfile(filename):
value = open(name + extension).read()
break
values[name] = value
return values
long_description = """
%(README)s
CHANGELOG
=========
%(CHANGES)s
""" % read('README', 'CHANGES')
setup(
name='howto',
version=howto.__version__,
description='Ask question to StackOverflow from cli, get direct code answers',
long_description=long_description,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Topic :: Documentation",
],
keywords='howto help console code stackoverflow',
author='Chakib Benziane',
author_email='chakib.benz@gmail.com',
maintainer='Chakib Benziane',
maintainer_email='chakib.benz@gmail.com',
url='https://github.com/sp4ke/howto',
license='MIT',
packages=find_packages(),
entry_points={
'console_scripts': [
'howto = howto.howto:cli_run',
]
},
install_requires=[
'pyquery',
'py-stackexchange',
],
)