File: setup.py

package info (click to toggle)
hostsed 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 100 kB
  • sloc: python: 234; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 657 bytes parent folder | download
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)