|
14 | 14 | # License along with this library; if not, write to the Free Software |
15 | 15 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
16 | 16 |
|
17 | | -from setuptools import find_packages |
18 | 17 | from setuptools import setup |
19 | 18 | from setuptools import Command |
20 | 19 | from codecs import open |
@@ -144,47 +143,15 @@ def run(self): |
144 | 143 | ) |
145 | 144 | cmdclass['update_libusb'] = update_libusb |
146 | 145 |
|
147 | | -long_description = open( |
148 | | - os.path.join(os.path.dirname(__file__), 'README.rst'), |
149 | | - encoding='utf8', |
150 | | -).read() |
151 | | - |
152 | 146 | setup( |
153 | | - name='libusb1', |
154 | | - description=next(x for x in long_description.splitlines() if x.strip()), |
155 | | - long_description='.. contents::\n\n' + long_description, |
156 | | - keywords='usb libusb', |
157 | 147 | version=versioneer.get_version(), |
158 | 148 | cmdclass=cmdclass, |
159 | | - author='Vincent Pelletier', |
160 | | - author_email='plr.vincent@gmail.com', |
161 | | - url='http://github.com/vpelletier/python-libusb1', |
162 | | - license='LGPLv2.1+', |
163 | | - platforms=['any'], |
164 | | - py_modules=['libusb1'], |
165 | | - packages=find_packages(), |
166 | | - package_data={ |
167 | | - "usb1": ["libusb-1.0.dll"], |
168 | | - }, |
| 149 | + |
169 | 150 | entry_points={ |
170 | 151 | 'pyinstaller40': [ |
171 | 152 | 'hook-dirs=usb1.__pyinstaller:get_hook_dirs', |
172 | 153 | 'tests=usb1.__pyinstaller:get_PyInstaller_tests'] |
173 | 154 | }, |
174 | | - classifiers=[ |
175 | | - 'Intended Audience :: Developers', |
176 | | - 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', |
177 | | - 'Operating System :: OS Independent', |
178 | | - 'Programming Language :: Python :: 3', |
179 | | - 'Programming Language :: Python :: 3.4', |
180 | | - 'Programming Language :: Python :: 3.5', |
181 | | - 'Programming Language :: Python :: 3.6', |
182 | | - 'Programming Language :: Python :: 3.7', |
183 | | - 'Programming Language :: Python :: Implementation :: CPython', |
184 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
185 | | - 'Topic :: Software Development :: Libraries', |
186 | | - 'Topic :: System :: Hardware :: Hardware Drivers', |
187 | | - ], |
188 | 155 | setup_requires=( |
189 | 156 | ['wheel'] |
190 | 157 | if 'bdist_wheel' in sys.argv else |
|
0 commit comments