|
41 | 41 | packageDirectory = packageName.replace(".", "/") |
42 | 42 | packageInformationFile = Path(f"{packageDirectory}/__init__.py") |
43 | 43 |
|
44 | | -setup(**DescribePythonPackageHostedOnGitHub( |
45 | | - packageName=packageName, |
46 | | - description="A Document-Object-Model (DOM) for IP-XACT files.", |
47 | | - gitHubNamespace=gitHubNamespace, |
48 | | - sourceFileWithVersion=packageInformationFile, |
49 | | - developmentStatus="alpha", |
50 | | - classifiers=list(DEFAULT_CLASSIFIERS) + [ |
51 | | - "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)" |
52 | | - ], |
53 | | - dataFiles={ |
54 | | - packageName: [ |
55 | | - str(file.relative_to(Path.cwd() / "pyEDAA/IPXACT")) for file in chain( |
56 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/*.xsd"), |
57 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/README.md"), |
58 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/*.xsd"), |
59 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/README.md"), |
60 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/LICENSE"), |
61 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/NOTICE"), |
62 | | - Path.cwd().glob("pyEDAA/IPXACT/Schema/*.md"), |
63 | | - Path.cwd().glob("pyEDAA/IPXACT/py.typed") |
64 | | - ) |
| 44 | +setup( |
| 45 | + **DescribePythonPackageHostedOnGitHub( |
| 46 | + packageName=packageName, |
| 47 | + description="A Document-Object-Model (DOM) for IP-XACT files.", |
| 48 | + gitHubNamespace=gitHubNamespace, |
| 49 | + sourceFileWithVersion=packageInformationFile, |
| 50 | + developmentStatus="alpha", |
| 51 | + classifiers=list(DEFAULT_CLASSIFIERS) + [ |
| 52 | + "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)" |
65 | 53 | ], |
66 | | - } |
67 | | -)) |
| 54 | + dataFiles={ |
| 55 | + packageName: [ |
| 56 | + str(file.relative_to(Path.cwd() / "pyEDAA/IPXACT")) for file in chain( |
| 57 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/*.xsd"), |
| 58 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/README.md"), |
| 59 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/*.xsd"), |
| 60 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/README.md"), |
| 61 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/LICENSE"), |
| 62 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/NOTICE"), |
| 63 | + Path.cwd().glob("pyEDAA/IPXACT/Schema/*.md"), |
| 64 | + Path.cwd().glob("pyEDAA/IPXACT/py.typed") |
| 65 | + ) |
| 66 | + ], |
| 67 | + } |
| 68 | + ) |
| 69 | +) |
0 commit comments