Projet

Général

Profil

Télécharger (3,09 ko) Statistiques
| Branche: | Tag: | Révision:

theme / setup.py @ d791423e

1
from setuptools import setup, find_packages  # Always prefer setuptools over distutils
2
from codecs import open  # To use a consistent encoding
3
from os import path
4

    
5
here = path.abspath(path.dirname(__file__))
6

    
7
# Get the long description from the relevant file
8
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
9
    long_description = f.read()
10

    
11
setup(
12
    name='''ckanext-ozwillo-theme''',
13

    
14
    # Versions should comply with PEP440.  For a discussion on single-sourcing
15
    # the version across setup.py and the project code, see
16
    # http://packaging.python.org/en/latest/tutorial.html#version
17
    version='0.0.1',
18

    
19
    description='''Ozwillo theme for CKAN''',
20
    long_description=long_description,
21

    
22
    # The project's main homepage.
23
    url='http://repos.entrouvert.com/ckanext-ozwillo-theme.git',
24

    
25
    # Author details
26
    author='''Serghei Mihai''',
27
    author_email='''smihai@entrouvert.com''',
28

    
29
    # Choose your license
30
    license='AGPL',
31

    
32
    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
33
    classifiers=[
34
        # How mature is this project? Common values are
35
        # 3 - Alpha
36
        # 4 - Beta
37
        # 5 - Production/Stable
38
        'Development Status :: 4 - Beta',
39

    
40
        # Pick your license as you wish (should match "license" above)
41
        'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
42

    
43
        # Specify the Python versions you support here. In particular, ensure
44
        # that you indicate whether you support Python 2, Python 3 or both.
45
        'Programming Language :: Python :: 2.6',
46
        'Programming Language :: Python :: 2.7',
47
    ],
48

    
49

    
50
    # What does your project relate to?
51
    keywords='''CKAN oasis ozwillo''',
52

    
53
    # You can just specify the packages manually here if your project is
54
    # simple. Or you can use find_packages().
55
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
56

    
57
    # List run-time dependencies here.  These will be installed by pip when your
58
    # project is installed. For an analysis of "install_requires" vs pip's
59
    # requirements files see:
60
    # https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files
61
    install_requires=[],
62

    
63
    # If there are data files included in your packages that need to be
64
    # installed, specify them here.  If using Python 2.6 or less, then these
65
    # have to be included in MANIFEST.in as well.
66
    include_package_data=True,
67
    package_data={
68
    },
69

    
70
    # Although 'package_data' is the preferred approach, in some case you may
71
    # need to place data files outside of your packages.
72
    # see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
73
    # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
74
    data_files=[],
75

    
76
    # To provide executable scripts, use entry points in preference to the
77
    # "scripts" keyword. Entry points provide cross-platform support and allow
78
    # pip to create the appropriate form of executable for the target platform.
79
    entry_points='''
80
        [ckan.plugins]
81
        ozwillo_theme=ckanext.ozwillo_theme.plugin:OzwilloThemePlugin
82
    ''',
83
)
(7-7/10)