setup.py 1.38 KB
Newer Older
1
from setuptools import setup, find_packages
2

Rafael Monnerat's avatar
Rafael Monnerat committed
3
version = '0.2.1'
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
name = 'slapos.package'
long_description = open("README.txt").read() + "\n" + \
    open("CHANGES.txt").read() + "\n"

setup(name=name,
      version=version,
      description="SlapOS Package Utils",
      long_description=long_description,
      classifiers=[
          "Programming Language :: Python",
      ],
      keywords='slapos package update',
      license='GPLv3',
      url='http://www.slapos.org',
      author='VIFIB',
19 20
      namespace_packages=['slapos'],
      packages=find_packages(),
21 22
      include_package_data=True,
      install_requires=[
23
          'slapos.libnetworkcache>=0.14.1',
24 25 26 27 28
          'iniparse',
      ],
      zip_safe=False,
      entry_points={
          'console_scripts': [
29 30
              # Those entry points are development version and
              # self updatable API
31
              'slappkg-update-raw = slapos.package.update:do_update',
32 33 34
              'slappkg-discover = slapos.package.distribution:do_discover',
              'slappkg-upload-key = slapos.package.upload_key:main',
              'slappkg-conf = slapos.package.conf:do_conf',
35
              'slappkg-update = slapos.package.autoupdate:do_update',
36 37 38 39 40 41
          ],

        # Not supported yet
        #'slapos.cli': [
        #  'package upload-key = slapos.package.upload_key:main'
        #  ]
42 43 44
      },
      test_suite="slapos.package.test",
)