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
|
#!/usr/bin/env python
long_description = ""
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
pass
sdict = {
'name': 'hostsed',
'version': "0.4.0",
'packages': ['hosts'],
'zip_safe': False,
'author': 'lichun',
'url': 'https://github.com/socrateslee/hostsed',
'scripts': ['hostsed'],
'long_description': long_description,
'classifiers': [
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python']
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(**sdict)
|