From: Luke Kenneth Casson Leighton Date: Sun, 18 Apr 2021 10:09:43 +0000 (+0100) Subject: update setup.py to make it "safe" for uploading to pypi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d23429c31d314647d31aecd397e87729c63293f7;p=soc.git update setup.py to make it "safe" for uploading to pypi --- diff --git a/setup.py b/setup.py index 3a58066a..df1a2a6a 100644 --- a/setup.py +++ b/setup.py @@ -9,36 +9,41 @@ NEWS = open(os.path.join(here, 'NEWS.txt')).read() version = '0.0.1' +# using pip3 for ongoing development is a royal pain. seriously not +# recommended. therefore a number of these dependencies have been +# commented out. *they are still required* - they will need installing +# manually. + install_requires = [ - # 'sfpy', - 'ieee754fpu', # needs to be installed manually from git.libre-soc.org - 'pygdbmi', - 'nmigen-soc', # install manually from git.libre-soc.org - 'ply', # needs to be installed manually - 'astor' + # 'sfpy', # needs manual patching + 'ieee754fpu', # uploaded (successfully, whew) to pip + 'pygdbmi', # safe to include + # 'nmigen-soc', # install manually from git.libre-soc.org + # 'ply', # needs to be installed manually + 'astor' # safe to include ] test_requires = [ 'nose', - # install from https://salsa.debian.org/Kazan-team/power-instruction-analyzer + # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer 'power-instruction-analyzer' ] setup( - name='soc', + name='libresoc', version=version, description="A nmigen-based OpenPOWER multi-issue Hybrid CPU / VPU / GPU", long_description=README + '\n\n' + NEWS, classifiers=[ - "Topic :: Software Development :: Libraries", - "License :: OSI Approved :: LGPLv3+", + "Topic :: Software Development", + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python :: 3", ], keywords='nmigen ieee754 libre-soc soc', author='Luke Kenneth Casson Leighton', author_email='lkcl@libre-soc.org', url='http://git.libre-soc.org/?p=soc', - license='GPLv3+', + license='LGPLv3+', packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True,