File: setup.py

package info (click to toggle)
olm 3.2.13~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,164 kB
  • sloc: cpp: 15,245; ansic: 10,894; java: 3,244; objc: 2,291; python: 1,890; javascript: 1,883; makefile: 468; sh: 218; asm: 7; xml: 1
file content (34 lines) | stat: -rw-r--r-- 790 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
# -*- coding: utf-8 -*-

import os
from codecs import open

from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))

about = {}
with open(os.path.join(here, "olm", "__version__.py"), "r", "utf-8") as f:
    exec(f.read(), about)

setup(
    name=about["__title__"],
    version=about["__version__"],
    description=about["__description__"],
    author=about["__author__"],
    author_email=about["__author_email__"],
    url=about["__url__"],
    license=about["__license__"],
    packages=["olm"],
    setup_requires=["cffi>=1.0.0"],
    cffi_modules=["olm_build.py:ffibuilder"],
    install_requires=[
        "cffi>=1.0.0",
        "future",
        "typing;python_version<'3.5'"
    ],
    zip_safe=False,
    package_data={
        "olm": ["py.typed"]
    }
)