setup.py
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Mon, 12 Jan 2015 12:00:30 +0100
changeset 38 d1bc73ce855a
parent 36 dfef7a018d1d
child 40 8c32ea41b391
permissions -rw-r--r--
Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
from setuptools import setup, find_packages
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
38
d1bc73ce855a Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 36
diff changeset
     3
# Will set CURRENT_VERSION to the current version string and VERSION to the
d1bc73ce855a Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 36
diff changeset
     4
# current version tuple
d1bc73ce855a Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 36
diff changeset
     5
exec(compile(open("src/catedit/version.py"), "version.py", "exec"))
d1bc73ce855a Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 36
diff changeset
     6
26
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
setup(
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    name='catedit',
38
d1bc73ce855a Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 36
diff changeset
     9
    version=CURRENT_VERSION,
26
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    url='http://www.iri.centrepompidou.fr',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
    author='I.R.I.',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    author_email='dev@iri.centrepompidou.fr',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
    description='Category editor',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    license='CECILL-B',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
    packages=find_packages('src'),
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
    package_dir={'catedit':'src/catedit'},
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
    include_package_data=True,
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
#    scripts=['src/catedit/bin/manage.py'],
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
    zip_safe=False,
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
    classifiers=[
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
        'Development Status :: 3 - Alpha',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
        'Environment :: Web Environment',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
        'Framework :: Flask',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
        'Intended Audience :: Developers',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
        'License :: OSI Approved :: BSD License',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
        'Operating System :: OS Independent',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        'Programming Language :: Python',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
        'Programming Language :: Python :: 3',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
        'Programming Language :: Python :: 3.4',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
        'Topic :: Internet :: WWW/HTTP',
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
    ],
e3affd6625d6 add packaging
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
)