forked from serge-sans-paille/beniget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.17 KB
/
setup.py
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
38
39
40
try:
from setuptools import setup
kw = {"test_suite": "tests"}
except ImportError:
from distutils.core import setup
kw = {}
import os
versionfile = os.path.join('beniget', 'version.py')
exec(open(versionfile).read())
setup(
name="beniget", # gast, beniget!
version=__version__,
packages=["beniget"],
description="Extract semantic information about static Python code",
long_description="""
A static analyzer for Python code.
Beniget provides a static over-approximation of the global and
local definitions inside Python Module/Class/Function.
It can also compute def-use chains from each definition.""",
author="serge-sans-paille",
author_email="[email protected]",
url="https://github.com/serge-sans-paille/beniget/",
license="BSD 3-Clause",
install_requires=open("requirements.txt").read().splitlines(),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3"],
python_requires=">=3.6",
**kw
)