-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
37 lines (33 loc) · 1022 Bytes
/
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
import setuptools
import shutil
import os
from setuptools.command.sdist import sdist
#Cleanup before sdist
class CustomSdist(sdist):
def run(self):
#Cleanup before building
shutil.rmtree("dist", ignore_errors=True)
#Build from directory above
sdist.run(self)
#Package
setuptools.setup(
name="VivadoScripting",
version="4.0.1",
author="Oliver Bründler",
author_email="[email protected]",
description="Tools to easily script Xilinx vivado from Python",
license="PSI HDL Library License, Version 1.0",
url="https://github.com/paulscherrerinstitute/VivadoScripting",
package_dir = {"VivadoScripting" : "."},
packages = ["VivadoScripting", "VivadoScripting.BuildScripts", "VivadoScripting.IlaParsers.I2c"],
install_requires = [
"PsiPyUtils",
"typing"],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
],
cmdclass = {
"sdist" : CustomSdist
}
)