Skip to content

Commit

Permalink
Introduce setup.py for packaging & other related files
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Aug 18, 2014
1 parent 90bfb9d commit 6a43e04
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.pyo
*.pyc
__pycache__
*.egg-info
build
dist
.idea
44 changes: 44 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/usr/bin/env python

from setuptools import setup

setup(
name='topy',
version='0.0.1',

# PyPI metadata
author='Marti Raudsepp',
author_email='[email protected]',
url='https://github.com/intgr/topy',
download_url='https://pypi.python.org/pypi/topy/',
license='MIT, CC-BY-SA',
description='Fixes typos in text using regular expressions, based on RegExTypoFix from Wikipedia',
long_description=open('README.rst').read(),
platforms='any',
keywords='typo spelling grammar text',
classifiers=[
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
# Until we have a test suite we're conservative about Python version compatibility claims
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Documentation',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Text Processing :: Filters',
],

# Installation settings
packages=['topy'],
entry_points={'console_scripts': ['topy = topy.topy:main']},
package_data={
'': ['*.txt']
},
install_requires=[
'regex',
'beautifulsoup4',
],
)
6 changes: 6 additions & 0 deletions topy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""This file is intentionally left blank. Topy does not have a public API yet.
If you insist, you can access the privates using::
from topy import topy
"""

0 comments on commit 6a43e04

Please sign in to comment.