Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
4c040810
Commit
4c040810
authored
12 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Plain Diff
Merge branch 'master' of github.com:milkymist/migen
parents
9366a226
6bd8566c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
setup.py
setup.py
+46
-0
No files found.
setup.py
0 → 100755
View file @
4c040810
#!/usr/bin/env python3.2
# vim: noexpandtab:tabstop=8:softtabstop=8
""" Migen's distutils distribution and installation script. """
import
sys
,
os
from
distutils.core
import
setup
here
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
README
=
open
(
os
.
path
.
join
(
here
,
"README"
)).
read
()
required_version
=
(
3
,
2
)
if
sys
.
version_info
<
required_version
:
raise
SystemExit
(
"migen requires python {0} or greater"
.
format
(
"."
.
join
(
map
(
str
,
required_version
))))
packages
=
[
'migen'
]
packages_dir
=
os
.
path
.
sep
.
join
((
here
,
packages
[
0
]))
for
entry
in
os
.
listdir
(
packages_dir
):
if
(
os
.
path
.
isdir
(
os
.
path
.
sep
.
join
((
packages_dir
,
entry
)))
and
os
.
path
.
isfile
(
os
.
path
.
sep
.
join
((
packages_dir
,
entry
,
'__init__.py'
)))):
packages
.
append
(
'.'
.
join
((
packages
[
0
],
entry
)))
packages_dir
=
{
''
:
'migen'
}
setup
(
name
=
"migen"
,
version
=
"unknown"
,
description
=
"Python toolbox for building complex digital hardware"
,
long_description
=
README
,
author
=
"Sebastien Bourdeauducq"
,
author_email
=
"sebastien@milkymist.org"
,
url
=
"http://www.milkymist.org"
,
download_url
=
"https://github.com/milkymist/migen"
,
packages
=
packages
,
license
=
"GPL"
,
platforms
=
[
"Any"
],
keywords
=
"HDL ASIC FPGA hardware design"
,
classifiers
=
[
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)"
,
"Environment :: Console"
,
"Development Status :: Alpha"
,
"Intended Audience :: Developers"
,
"License :: OSI Approved :: GNU General Public License (GPL)"
,
"Operating System :: OS Independent"
,
"Programming Language :: Python"
,
],
)
This diff is collapsed.
Click to expand it.
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