|
| 1 | +#!/usr/bin/env python |
| 2 | +from pip.req import parse_requirements |
| 3 | +from setuptools import setup, find_packages |
| 4 | + |
| 5 | +def install(): |
| 6 | + required = [] |
| 7 | + with open('requirements.txt') as f: |
| 8 | + requirements = f.read().splitlines() |
| 9 | + for req in requirements: |
| 10 | + p = req.split('==') |
| 11 | + required.append(p[0]) |
| 12 | + desc = '' |
| 13 | + setup( |
| 14 | + name='py-hanspell', |
| 15 | + version='1.0', |
| 16 | + description=desc, |
| 17 | + long_description=desc, |
| 18 | + author='SuHun Han', |
| 19 | + |
| 20 | + url='https://github.com/ssut/py-hanspell', |
| 21 | + classifiers = ['Development Status :: 5 - Production/Stable', |
| 22 | + 'Intended Audience :: Education', |
| 23 | + 'Intended Audience :: End Users/Desktop', |
| 24 | + 'License :: Freeware', |
| 25 | + 'Operating System :: POSIX', |
| 26 | + 'Operating System :: Microsoft :: Windows', |
| 27 | + 'Operating System :: MacOS :: MacOS X', |
| 28 | + 'Topic :: Education', |
| 29 | + 'Programming Language :: Python', |
| 30 | + 'Programming Language :: Python :: 2.6', |
| 31 | + 'Programming Language :: Python :: 2.7', |
| 32 | + 'Programming Language :: Python :: 3.2', |
| 33 | + 'Programming Language :: Python :: 3.3', |
| 34 | + 'Programming Language :: Python :: 3.4'], |
| 35 | + packages=find_packages(), |
| 36 | + install_requires=required, |
| 37 | + ) |
| 38 | + |
| 39 | +if __name__ == "__main__": |
| 40 | + install() |
0 commit comments