|
1 |
| -# -*- coding: utf-8 -*- |
2 |
| -# Always prefer setuptools over distutils |
3 |
| -from setuptools import setup, find_packages |
4 |
| -from codecs import open # To use a consistent encoding |
5 |
| -from os import path |
6 |
| - |
7 |
| -here = path.abspath(path.dirname(__file__)) |
8 |
| - |
9 |
| -# Get the long description from the relevant file |
10 |
| -with open(path.join(here, "README.md"), encoding="utf-8") as f: |
11 |
| - long_description = f.read() |
| 1 | +from setuptools import setup |
12 | 2 |
|
13 | 3 | setup(
|
14 |
| - name="""ckanext-harvest-basket""", |
15 |
| - # Versions should comply with PEP440. For a discussion on single-sourcing |
16 |
| - # the version across setup.py and the project code, see |
17 |
| - # http://packaging.python.org/en/latest/tutorial.html#version |
18 |
| - version="1.3.7", |
19 |
| - description="""A bunch of custom harvesters for ckanext-harvest""", |
20 |
| - long_description=long_description, |
21 |
| - long_description_content_type="text/markdown", |
22 |
| - # The project's main homepage. |
23 |
| - url="https://github.com/mutantsan/ckanext-harvest-basket", |
24 |
| - # Author details |
25 |
| - author="""Alexandr Cherniavskyi""", |
26 |
| - author_email="""mutantsan@gmail.com""", |
27 |
| - # Choose your license |
28 |
| - license="AGPL", |
29 |
| - # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
30 |
| - classifiers=[ |
31 |
| - # How mature is this project? Common values are |
32 |
| - # 3 - Alpha |
33 |
| - # 4 - Beta |
34 |
| - # 5 - Production/Stable |
35 |
| - "Development Status :: 4 - Beta", |
36 |
| - # Pick your license as you wish (should match "license" above) |
37 |
| - "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", |
38 |
| - # Specify the Python versions you support here. In particular, ensure |
39 |
| - # that you indicate whether you support Python 2, Python 3 or both. |
40 |
| - "Programming Language :: Python :: 2.7", |
41 |
| - ], |
42 |
| - # What does your project relate to? |
43 |
| - keywords="""CKAN harvest harvester""", |
44 |
| - # You can just specify the packages manually here if your project is |
45 |
| - # simple. Or you can use find_packages(). |
46 |
| - packages=find_packages(exclude=["contrib", "docs", "tests*"]), |
47 |
| - namespace_packages=["ckanext"], |
48 |
| - install_requires=[ |
49 |
| - # CKAN extensions should not list dependencies here, but in a separate |
50 |
| - # ``requirements.txt`` file. |
51 |
| - # |
52 |
| - # http://docs.ckan.org/en/latest/extensions/best-practices.html |
53 |
| - # add-third-party-libraries-to-requirements-txt |
54 |
| - ], |
55 |
| - # If there are data files included in your packages that need to be |
56 |
| - # installed, specify them here. If using Python 2.6 or less, then these |
57 |
| - # have to be included in MANIFEST.in as well. |
58 |
| - include_package_data=True, |
59 |
| - package_data={}, |
60 |
| - # Although 'package_data' is the preferred approach, in some case you may |
61 |
| - # need to place data files outside of your packages. |
62 |
| - # see http://docs.python.org/3.4/distutils/setupscript.html |
63 |
| - # installing-additional-files |
64 |
| - # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' |
65 |
| - data_files=[], |
66 |
| - # To provide executable scripts, use entry points in preference to the |
67 |
| - # "scripts" keyword. Entry points provide cross-platform support and allow |
68 |
| - # pip to create the appropriate form of executable for the target platform. |
69 |
| - entry_points=""" |
70 |
| - [ckan.plugins] |
71 |
| - harvest_basket=ckanext.harvest_basket.plugin:HarvestBasketPlugin |
72 |
| - dkan_harvester=ckanext.harvest_basket.harvesters:DKANHarvester |
73 |
| - junar_harvester=ckanext.harvest_basket.harvesters:JunarHarvester |
74 |
| - socrata_harvester=ckanext.harvest_basket.harvesters:SocrataHarvester |
75 |
| - arcgis_harvester=ckanext.harvest_basket.harvesters:ArcGISHarvester |
76 |
| - custom_ckan_harvester=ckanext.harvest_basket.harvesters:CustomCKANHarvester |
77 |
| - ods_harvester=ckanext.harvest_basket.harvesters:ODSHarvester |
78 |
| - basket_dcat_json_harvester=ckanext.harvest_basket.harvesters:BasketDcatJsonHarvester |
79 |
| - basket_csw_harvester=ckanext.harvest_basket.harvesters:BasketCswHarvester |
80 |
| - basket_csiro_harvester=ckanext.harvest_basket.harvesters:CsiroHarvester |
81 |
| -
|
82 |
| - [babel.extractors] |
83 |
| - ckan = ckan.lib.extract:extract_ckan |
84 |
| - """, |
85 | 4 | # If you are changing from the default layout of your extension, you may
|
86 | 5 | # have to change the message extractors, you can read more about babel
|
87 | 6 | # message extraction at
|
|
0 commit comments