-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,44 @@ | ||
[metadata] | ||
description-file = README.md | ||
name = hls4ml | ||
author = HLS4ML Team | ||
author_email = [email protected] | ||
license = Apache 2.0 | ||
description = Machine learning in FPGAs using HLS | ||
url = https://fastmachinelearning.org/hls4ml | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Developers | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: Apache Software License | ||
Programming Language :: C++ | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Topic :: Software Development :: Libraries | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
|
||
[options] | ||
python_requires = >=3.7 | ||
packages = find: | ||
install_requires = | ||
numpy | ||
six | ||
pyyaml | ||
h5py | ||
onnx>=1.4.0 | ||
calmjs.parse | ||
tabulate | ||
qkeras | ||
include_package_data = True | ||
scripts = scripts/hls4ml | ||
|
||
[options.entry_points] | ||
pytest_randomly.random_seeder = | ||
hls4ml = hls4ml:reseed | ||
|
||
[options.extras_require] | ||
profiling = pandas; seaborn; matplotlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,4 @@ | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
import setuptools | ||
|
||
import codecs | ||
import os.path | ||
|
||
def read(rel_path): | ||
this_directory = os.path.abspath(os.path.dirname(__file__)) | ||
with codecs.open(os.path.join(this_directory, rel_path), 'r') as fp: | ||
return fp.read() | ||
|
||
setup(name='hls4ml', | ||
use_scm_version={"version_scheme": "no-guess-dev"}, | ||
description='Machine learning in FPGAs using HLS', | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
author='HLS4ML Team', | ||
author_email='[email protected]', | ||
url='https://github.com/hls-fpga-machine-learning/hls4ml', | ||
license='Apache 2.0', | ||
install_requires=[ | ||
'numpy', | ||
'six', | ||
'pyyaml', | ||
'h5py', | ||
'onnx>=1.4.0', | ||
'calmjs.parse', | ||
'tabulate', | ||
'pydigitalwavetools==1.1', | ||
'qkeras', | ||
], | ||
extras_require={ | ||
'profiling': [ | ||
'pandas', | ||
'seaborn', | ||
'matplotlib' | ||
] | ||
}, | ||
scripts=['scripts/hls4ml'], | ||
include_package_data=True, | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: C++', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
], | ||
packages=find_packages()) | ||
if __name__ == "__main__": | ||
setuptools.setup() |