setup.py 2.63 KB
Newer Older
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
1
2
3
4
5
6
7
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Mon 16 Apr 08:18:08 2012 CEST

from setuptools import setup

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
8
9
10
11
12
13
from setuptools import setup, dist
dist.Distribution(dict(setup_requires=['bob.extension']))

from bob.extension.utils import load_requirements, find_packages
install_requires = load_requirements()

Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
14
15
16
17
18
19
# The only thing we do in this file is to call the setup() function with all
# parameters that define our package.
setup(

    # This is the basic information about your project. Modify all this
    # information before releasing code publicly.
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
20
21
22
    name='bob.learn.tensorflow',
    version=open("version.txt").read().rstrip(),
    description='Bob bindings for tensorflow',
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
23

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
24
25
26
27
28
    url='',
    license='BSD',
    author='Tiago de Freitas Pereira',
    author_email='tiago.pereira@idiap.ch',
    keywords='tensorflow',
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
29
30
31

    # If you have a better, long description of your package, place it on the
    # 'doc' directory and then hook it here
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
32
    long_description=open('README.rst').read(),
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
33
34

    # This line is required for any distutils based packaging.
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
35
    include_package_data=True,
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
36
37
38
39
40
41

    # This line defines which packages should be installed when you "install"
    # this package. All packages that are mentioned here, but are not installed
    # on the current system will be installed locally and only visible to the
    # scripts of this package. Don't worry - You won't need administrative
    # privileges when using buildout.
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
42
43
44
    install_requires=install_requires,
    packages=find_packages(),
    zip_safe=False,
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
45

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
46
    entry_points={
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
47

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
48
49
        # scripts should be declared using this entry:
        'console_scripts': [
50
            'compute_statistics.py = bob.learn.tensorflow.script.compute_statistics:main',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
51
52
            'train.py = bob.learn.tensorflow.script.train:main',
            'bob_db_to_tfrecords = bob.learn.tensorflow.script.db_to_tfrecords:main',
53
54
            'load_and_debug.py = bob.learn.tensorflow.script.load_and_debug:main',
            'lfw_db_to_tfrecords.py = bob.learn.tensorflow.script.lfw_db_to_tfrecords:main'
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
55
        ],
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
56

57
    },
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
58
59
60
61

    # Classifiers are important if you plan to distribute this package through
    # PyPI. You can find the complete list of classifiers that are valid and
    # useful here (http://pypi.python.org/pypi?%3Aaction=list_classifiers).
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
62
63
64
65
66
67
68
69
    classifiers=[
        'Framework :: Tensorflow',
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved ::  BSD License',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
70
71
    ],
)