File: setup.py

package info (click to toggle)
pyacidobasic 2.5-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,180 kB
  • ctags: 131
  • sloc: python: 1,183; xml: 71; makefile: 32; sh: 6
file content (26 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- coding: utf-8 -*-
### setup.py ###

from distutils.core import setup
import glob
import version

package='pyacidobasic'
command='pyacidobasic'
manpage='%s.1.gz' %command

setup (name=package,
      version=version.version,
      description=u"%s permet de simuler des titrages acido-basiques" %package,
      author='Georges KHAZNADAR',
      author_email='georgesk@ofset.org',
      url='http://outilsphysiques.tuxfamily.org/pmwiki.php/Oppl/Pyacidobasic',
      license='GPLv3',
      packages=[package],
      package_dir={package: '.'},
      data_files=[('share/%s/icons' %package, glob.glob('icons/*')),
                  ('share/%s/lang' %package, glob.glob("lang/*.html")+ glob.glob('lang/*.ts')+ glob.glob('lang/*.qm')),
                  ('share/%s' %package, glob.glob("*.acb")),
                  ('bin', [command]),
                  ('share/man/man1', [manpage])]
)