-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.81 KB
/
setup.py
File metadata and controls
44 lines (40 loc) · 1.81 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
44
import setuptools
from shutil import copy2
from os import path
here = path.abspath(path.dirname(__file__))
with open('requirements.txt') as f:
requirements = f.read().splitlines()
darknetPath = input("Please enter the full path to your darknet installation.\
On Windows, this will look similar to C:/Users/<user>/.../darknet/ .")
copy2(darknetPath + "/build/darknet/x64/pthreadGC2.dll", "./naturalmousetracker/data/")
copy2(darknetPath + "/build/darknet/x64/pthreadVC2.dll", "./naturalmousetracker/data/")
copy2(darknetPath + "/build/darknet/x64/yolo_cpp_dll.dll", "./naturalmousetracker/data/")
copy2(darknetPath + "/build/darknet/x64/pthreadGC2.dll", "./naturalmousetracker/detection_utils/")
copy2(darknetPath + "/build/darknet/x64/pthreadVC2.dll", "./naturalmousetracker/detection_utils/")
copy2(darknetPath + "/build/darknet/x64/yolo_cpp_dll.dll", "./naturalmousetracker/detection_utils/")
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
print(setuptools.find_packages())
setuptools.setup(
name="naturalmousetracker-Judge24601", # Replace with your own username
version="0.1.0",
author="Braeden Jury",
author_email="braedenjury@gmail.com",
description="Mouse Tracking and Pose Estimation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Judge24601/MouseTrackingSystem",
packages=setuptools.find_packages(),
package_data={'naturalmousetracker': [
"*.dll",
"*.weights",
"data/*"
], 'naturalmousetracker.detection_utils': ['*.dll']},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=requirements,
)