-
Notifications
You must be signed in to change notification settings - Fork 55
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
100 additions
and
129 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
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,7 +1,12 @@ | ||
# How to contribute | ||
|
||
Pull requests are always welcome, but before you contribute to this project, please be mindful of the following guidelines: | ||
Pull requests are always welcome, but before you contribute to this project, | ||
please bear in mind that the following tools are used: | ||
|
||
- This project adheres to [PEP8](https://www.python.org/dev/peps/pep-0008/) and most of [PEP257](https://www.python.org/dev/peps/pep-0257/) conventions. The [`pylama`](https://github.com/klen/pylama) linter is used for checking the code. The full configuration can be found in the `setup.cfg` file. Please read these conventions and the project's configuration. | ||
- [`pylama`](https://github.com/klen/pylama) linter; | ||
- [`isort`](https://pypi.python.org/pypi/isort) package is for sorting imports; | ||
- [yapf](https://github.com/google/yapf) formatter; | ||
- [pytest](https://docs.pytest.org/en/latest/) as a test runner. | ||
|
||
- The [`isort`](https://pypi.python.org/pypi/isort) package is used for sorting imports. The full configuration can be found in `setup.cfg`. Please review them. | ||
The configuration of these tools is located in `setup.cfg`. Please review it | ||
and set up your editor accordingly. |
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 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
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
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
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,68 +1,3 @@ | ||
from codecs import open | ||
from os import path | ||
|
||
from setuptools import setup | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the relevant file | ||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='centerline', | ||
version='0.4.1', | ||
description='Calculate the centerline of a polygon', | ||
long_description=long_description, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Intended Audience :: Science/Research', | ||
'Intended Audience :: Developers', | ||
'Topic :: Scientific/Engineering :: GIS', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
], | ||
url='https://github.com/fitodic/centerline.git', | ||
author='Filip Todic', | ||
author_email='todic.filip@gmail.com', | ||
license='MIT', | ||
packages=['centerline'], | ||
install_requires=[ | ||
'GDAL>=2.0.1', | ||
'Fiona>=1.7.0', | ||
'Shapely>=1.5.13', | ||
'numpy>=1.10.4', | ||
'scipy>=0.16.1', | ||
], | ||
extras_require={ | ||
'dev': [ | ||
'pylama', | ||
'ipdb', | ||
'ipython[all]', | ||
'notebook', | ||
'jupyter', | ||
'isort' | ||
], | ||
'test': [ | ||
'coverage', | ||
'pytest>=3.0.0', | ||
'pytest-cov', | ||
'pytest-sugar', | ||
'pytest-runner' | ||
], | ||
'docs': [ | ||
'Sphinx', | ||
'sphinx_rtd_theme' | ||
] | ||
}, | ||
scripts=[ | ||
'bin/create_centerlines', | ||
], | ||
include_package_data=True, | ||
zip_safe=False, | ||
) | ||
setup() |
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