partsdb

electronic parts inventory
git clone https://git.e1e0.net/partsdb.git
Log | Files | Refs | README | LICENSE

setup.py (1320B)


      1 from setuptools import setup, find_packages
      2 import pathlib
      3 
      4 here = pathlib.Path(__file__).parent.resolve()
      5 
      6 long_description = (here / 'README.md').read_text(encoding='utf-8')
      7 
      8 setup(
      9     name='partsdb',
     10     version='1.2.5',
     11     description='Electronic parts database',
     12     long_description=long_description,
     13     long_description_content_type='text/markdown',
     14     url='https://git.e1e0.net/partsdb/',
     15     author='Paco Esteban',
     16     author_email='paco@e1e0.net',
     17     classifiers=[  # Optional
     18         'Development Status :: 3 - Alpha',
     19         'License :: OSI Approved :: ISC License',
     20         'Programming Language :: Python :: 3',
     21         'Programming Language :: Python :: 3.6',
     22         'Programming Language :: Python :: 3.7',
     23         'Programming Language :: Python :: 3.8',
     24         'Programming Language :: Python :: 3.9',
     25         'Programming Language :: Python :: 3 :: Only',
     26     ],
     27     keywords='electronics, parts, database',
     28     packages=find_packages(where='.'),
     29     python_requires='>=3.6, <4',
     30     install_requires=['jinja2'],
     31     package_data={
     32         'partsdb.exports': ['templates/*html', 'templates/style.css'],
     33     },
     34     data_files=[('sql', ['schema.sql', 'base_data.sql'])],
     35     entry_points={  # Optional
     36         'console_scripts': [
     37             'partsdb=partsdb.partsdb:main',
     38         ],
     39     },
     40 )