-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (40 loc) · 1.43 KB
/
setup.py
File metadata and controls
43 lines (40 loc) · 1.43 KB
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
41
42
43
from setuptools import setup, find_packages
def get_version(rel_path):
with open(rel_path, 'r') as f:
for line in f.read().splitlines():
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
else:
raise RuntimeError("Unable to find version string.")
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="CA Visual Fingerprinter",
version=get_version('cafingerprinter/__init__.py'),
author="Ben Klein",
author_email="bklein3@vols.utk.edu,robobenklein@gmail.com",
description="Part of the CodeAnalytics suite for generic code analysis",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/utk-se/CodeAnalytics-visualfingerprinter",
packages=find_packages(),
install_requires=[
"ca-distributor @ git+ssh://git@github.com/utk-se/CodeAnalytics-distributor.git#egg=ca-distributor",
"numpy",
"Pygments"
],
dependency_links = [
'http://github.com/utk-se/CodeAnalytics-distributor/tarball/master#egg=ca-distributor'
],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'ca-fingerprinter=cafingerprinter:main'
]
},
python_requires='>=3.6',
)