forked from madprime/python-gedcom
-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
238 additions
and
531 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: python | ||
|
||
matrix: | ||
include: | ||
- python: '2.7' | ||
env: TOXENV=py27 | ||
- python: '3.4' | ||
env: TOXENV=py34 | ||
- python: '3.5' | ||
env: TOXENV=py35 | ||
- python: '3.6' | ||
env: TOXENV=py36 | ||
|
||
install: pip install tox | ||
|
||
script: tox | ||
|
||
notifications: | ||
email: false |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,8 @@ | ||
# Include the README | ||
include *.md | ||
|
||
# Include the license file | ||
include LICENSE.txt | ||
|
||
# Include the `requirements.txt` file | ||
include requirements.txt |
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
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,4 @@ | ||
setuptools | ||
wheel | ||
twine | ||
tox |
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,13 @@ | ||
[metadata] | ||
# This includes the license file(s) in the wheel. | ||
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file | ||
license_files = LICENSE.txt | ||
|
||
[bdist_wheel] | ||
# This flag says to generate wheels that support both Python 2 and Python | ||
# 3. If your code will not run unchanged on both Python 2 and 3, you will | ||
# need to generate separate wheels for each Python version that you | ||
# support. Removing this line (or setting universal to 0) will prevent | ||
# bdist_wheel from trying to make a universal wheel. For more see: | ||
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels | ||
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 |
---|---|---|
@@ -1,14 +1,46 @@ | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
from os import path | ||
from io import open | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the `README.md` file | ||
with open(path.join(here, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='python-gedcom', | ||
version='0.2.4dev', | ||
packages=['gedcom', ], | ||
license='GPLv2', | ||
package_dir={'': '.'}, | ||
version='0.2.5dev', | ||
description='A Python module for parsing, analyzing, and manipulating GEDCOM files.', | ||
long_description=open('README.md').read(), | ||
maintainer='Nicklas Reincke', | ||
maintainer_email='contact@reynke.com', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/nickreynke/python-gedcom', | ||
author='Nicklas Reincke', | ||
author_email='contact@reynke.com', | ||
license='GPLv2', | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Topic :: Sociology :: Genealogy', | ||
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
], | ||
keywords='python gedcom parser', | ||
packages=find_packages(exclude=['contrib', 'docs', 'tests']), | ||
install_requires=[], | ||
extras_require={ | ||
'dev': ['setuptools', 'wheel', 'twine'], | ||
'test': ['tox'], | ||
}, | ||
package_data={}, | ||
data_files=[], | ||
project_urls={ | ||
'Bug Reports': 'https://github.com/nickreynke/python-gedcom/issues', | ||
'Source': 'https://github.com/nickreynke/python-gedcom', | ||
}, | ||
) |
Empty file.
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,2 @@ | ||
def test_success(): | ||
assert True |
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,27 @@ | ||
# - check-manifest | ||
# confirm items checked into vcs are in your sdist | ||
# - python setup.py check | ||
# confirm required package meta-data in setup.py | ||
|
||
[tox] | ||
envlist = py{27,34,35,36} | ||
|
||
[testenv] | ||
basepython = | ||
py27: python2.7 | ||
py34: python3.4 | ||
py35: python3.5 | ||
py36: python3.6 | ||
deps = | ||
check-manifest | ||
flake8 | ||
pytest | ||
commands = | ||
check-manifest --ignore tox.ini,tests* | ||
python setup.py check -m -s | ||
flake8 . | ||
py.test tests | ||
[flake8] | ||
exclude = .tox,*.egg,build,data | ||
select = E,W,F | ||
ignore = E501,W503 |