setup.py
author ymh <ymh.work@gmail.com>
Fri, 10 Apr 2015 16:10:25 +0200
changeset 88 1e15fe538d93
parent 40 8c32ea41b391
permissions -rw-r--r--
increment version to 0.2.2
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
40
8c32ea41b391 New version + Reworked login process to suppress unauthenticated request + reworked file persistence + added tests module and API tests + reworked how the list repositories user can access is generated (can now only access repositories that are both in his repository list AND in the config repository list, so there is no need to add every new user to all repositories)
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents: 38
diff changeset
     5
exec(compile(open("src/catedit/version.py").read(), "version.py", "exec"))
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
     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
)