-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
45 lines (39 loc) · 1.05 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
41
42
43
44
45
"""Setup script."""
import os
import re
import setuptools
PACKAGE_NAME = "fourier_feature_nets"
REQUIRES = [
"scenepic",
"numba",
"numpy",
"opencv-python",
"torch",
"matplotlib",
"trimesh",
"nbstripout",
"requests",
"progress",
"jupyter"
]
with open("README.md", "r") as file:
LONG_DESCRIPTION = file.read()
with open(os.path.join("fourier_feature_nets", "version.py")) as file:
VERSION = re.search(r"\d\.\d\.\d", file.read()).group()
setuptools.setup(
name=PACKAGE_NAME,
version=VERSION,
author="Matthew Johnson",
author_email="matjoh@microsoft.com",
description="Fourier Feature Network Lecture Resources",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
url="https://github.com/matajoh/fourier_feature_nets",
install_requires=REQUIRES
)