-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce setup.py for packaging & other related files
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.pyo | ||
*.pyc | ||
__pycache__ | ||
*.egg-info | ||
build | ||
dist | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
""" |