-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from cdli-gh/master
For releasing on PyPy
- Loading branch information
Showing
6 changed files
with
52 additions
and
14 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
recursive-include pyoracc *.py | ||
recursive-include pyoracc/test/fixtures/sample_corpus *.atf | ||
recursive-include pyoracc/test/fixtures/tiny_corpus *.atf | ||
include LICENSE.txt | ||
include README.md |
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
Empty file.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[metadata] | ||
description-file = README.md | ||
license_file = LICENSE.txt | ||
[wheel] | ||
universal = 1 |
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 |
---|---|---|
|
@@ -20,8 +20,20 @@ | |
from setuptools import find_packages, setup | ||
from setuptools.command.build_py import build_py | ||
|
||
# To use a consistent encoding | ||
from codecs import open | ||
from os import path | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
dependencies = ['click', 'mako', 'ply'] | ||
|
||
extra_dependencies = ['pytest', 'pytest-cov', 'codecov', 'pycodestyle'] | ||
|
||
|
||
class MyBuildPy(build_py): | ||
"""We subclass build_py so that we can run _generate_parsetab after | ||
|
@@ -41,11 +53,18 @@ def run(self): | |
version='0.1.0', | ||
author='UCL Research IT Services', | ||
author_email='[email protected]', | ||
description='Python tools for working with ORACC/CDLI ATF files', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/ucl/pyoracc', | ||
download_url='https://github.com/ucl/pyoracc/archive/master.tar.gz', | ||
license='GPLv3', | ||
packages=find_packages(exclude=["*.test", "*.test.*", "test.*", "test"]), | ||
install_requires=dependencies, | ||
setup_requires=dependencies, | ||
extras_require={ # Optional | ||
'dev': extra_dependencies, | ||
'test': extra_dependencies, | ||
}, | ||
zip_safe=False, | ||
cmdclass=dict(build_py=MyBuildPy), | ||
entry_points={ | ||
|
@@ -58,13 +77,15 @@ def run(self): | |
# 'Development Status :: 1 - Planning', | ||
# 'Development Status :: 2 - Pre-Alpha', | ||
# 'Development Status :: 3 - Alpha', | ||
'Development Status :: 4 - Beta', | ||
# 'Development Status :: 5 - Production/Stable', | ||
# 'Development Status :: 4 - Beta', | ||
'Development Status :: 5 - Production/Stable', | ||
# 'Development Status :: 6 - Mature', | ||
# 'Development Status :: 7 - Inactive', | ||
'Environment :: Console', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Intended Audience :: Education', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Operating System :: POSIX', | ||
'Operating System :: MacOS', | ||
'Operating System :: Unix', | ||
|
@@ -73,5 +94,14 @@ def run(self): | |
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
'Topic :: Utilities' | ||
], | ||
keywords='oracc cdli atf cuneiform parser', # Optional | ||
project_urls={ # Optional | ||
'Bug Reports': 'https://github.com/oracc/pyoracc/issues', | ||
'Donating!': 'http://oracc.museum.upenn.edu/doc/about/contributing/', | ||
'Help!': 'http://oracc.museum.upenn.edu/doc/help/index.html', | ||
'Source': 'https://github.com/oracc/pyoracc/', | ||
}, | ||
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4' | ||
) |