Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vhdl-style
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
misc
vhdl-style
Commits
f78b4f38
Commit
f78b4f38
authored
Mar 06, 2018
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rework setup.py to support missing cx_Freeze.
parent
16261594
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
setup.py
setup.py
+12
-4
vhdllint-ohwr
vhdllint-ohwr
+0
-0
No files found.
setup.py
View file @
f78b4f38
"""
A setuptools setup module
for vhdllint."""
"""
Distutils script
for vhdllint."""
from
cx_Freeze
import
setup
,
Executable
try
:
# In the case cx_Freeze is installed.
from
cx_Freeze
import
setup
,
Executable
import
os
exe
=
{
'nt'
:
'.exe'
}
.
get
(
os
.
name
,
''
)
kwargs
=
{
'executables'
:
[
Executable
(
'vhdllint-ohwr'
,
targetName
=
'vhdllint-ohwr'
+
exe
)]}
except
ImportError
:
from
setuptools
import
setup
kwargs
=
{
'scripts'
:
[
'vhdllint-ohwr'
]}
setup
(
name
=
'vhdllint'
,
...
...
@@ -39,6 +48,5 @@ setup(
'vhdllint.semrules'
,
'vhdllint.syntaxrules'
,
'vhdllint.synthrules'
],
install_requires
=
[
'libghdl'
],
executables
=
[
Executable
(
'ohwr.py'
,
targetName
=
'vhdllint-ohwr.exe'
)]
**
kwargs
)
ohwr.py
→
vhdllint-ohwr
View file @
f78b4f38
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment