-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (26 loc) · 1.74 KB
/
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
import setuptools
package_name = 'precept'
with open('README.md', 'r') as fh:
long_description = fh.read()
with open('requirements.txt', 'r') as req:
requirements = req.read().splitlines()
setuptools.setup( name = package_name
, version = '0.2.0'
, author = 'Yannick Uhlmann'
, author_email = '[email protected]'
, description = 'Deep Learning based Primitive Device Approximation'
, long_description = long_description
, long_description_content_type = 'text/markdown'
, url = 'https://github.com/electronics-and-drives/precept'
, packages = setuptools.find_packages()
, classifiers = [ 'Development Status :: 2 :: Pre-Alpha'
, 'Programming Language :: Python :: 3'
, 'Operating System :: POSIX :: Linux' ]
, python_requires = '>=3.8'
, install_requires = requirements
, entry_points = { 'console_scripts': [ 'pct = precept.__main__:pct'
, 'prc = precept.__main__:prc' ]}
, package_data = { '': ['*.hy', '__pycache__/*']}
, data_files = [ ('share/man/man1', ['doc/pct.1'])
, ('share/man/man8', ['doc/precept.8'])]
, )