File: setup.py

package info (click to toggle)
pyjavaproperties 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 160 kB
  • sloc: python: 232; makefile: 8
file content (37 lines) | stat: -rw-r--r-- 1,238 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
27
28
29
30
31
32
33
34
35
36
37
import os
import sys
from setuptools import setup

# Use a cute trick to include the rest-style docs as the long_description
# therefore having it self-doc'ed and hosted on pypi
with open("README.rst", "r") as fh:
    long_description = fh.read()

if sys.version_info[0] < 3:
    pyversion = ''
else:
    pyversion = '3'

setup(
    name='pyjavaproperties',
    version='0.7',
    author='Anand B Pillai',
    author_email = 'anandpillai@letterboxes.org',
    description = 'Python replacement for java.util.Properties.',
    long_description = long_description,
    url='https://bitbucket.org/skeptichacker/pyjavaproperties/',
    
    license = 'MIT License',
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules',
      ],
    py_modules=['pyjavaproperties'],
    data_files=[('share/python' + pyversion + '-pyjavaproperties',
                 ['pyjavaproperties_test.py']),
                ('share/python' + pyversion + '-pyjavaproperties/testdata',
                 ['testdata/complex.properties'])],
    )