@@ -353,75 +353,21 @@ def run(self):
353
353
'tag_weekly' : TagWeekly ,
354
354
'test' : Test ,
355
355
}
356
- setup_requires = ['setuptools-scm' ]
357
356
options = {}
358
- kwargs = {}
359
357
build_dependencies = []
360
358
361
- entrypoints = {
362
- 'console_scripts' : [
363
- 'plover = plover.main:main' ,
364
- ],
365
-
366
- 'plover.dictionary' : [
367
- 'json = plover.dictionary.json_dict:JsonDictionary' ,
368
- 'rtf = plover.dictionary.rtfcre_dict:RtfDictionary' ,
369
- ],
370
-
371
- 'plover.gui' : [
372
- 'none = plover.gui_none.main' ,
373
- ],
374
-
375
- 'plover.machine' : [
376
- 'Gemini PR = plover.machine.geminipr:GeminiPr' ,
377
- 'Keyboard = plover.machine.keyboard:Keyboard' ,
378
- 'Passport = plover.machine.passport:Passport' ,
379
- 'ProCAT = plover.machine.procat:ProCAT' ,
380
- 'Stentura = plover.machine.stentura:Stentura' ,
381
- 'TX Bolt = plover.machine.txbolt:TxBolt' ,
382
- 'Treal = plover.machine.treal:Treal' ,
383
- ],
384
-
385
- 'plover.system' : [
386
- 'English Stenotype = plover.system.english_stenotype' ,
387
- ],
388
-
389
- 'setuptools.installation' : [
390
- 'eggsecutable = plover.main:main' ,
391
- ],
392
- }
393
-
394
359
if sys .platform .startswith ('darwin' ):
395
- setup_requires .extend ([
396
- 'macholib' ,
397
- 'pip' ,
398
- 'wheel' ,
399
- ])
400
360
cmdclass ['bdist_app' ] = BinaryDistApp
401
361
cmdclass ['bdist_dmg' ] = BinaryDistDmg
402
362
403
363
if sys .platform .startswith ('win32' ):
404
- setup_requires .extend ([
405
- 'pip' ,
406
- 'wheel' ,
407
- ])
408
364
cmdclass ['bdist_win' ] = BinaryDistWin
409
365
410
- setup_requires .append ('pytest>=3.1.0' )
411
-
412
- entrypoints ['plover.gui' ].append ('qt = plover.gui_qt.main' )
413
- entrypoints ['plover.gui.qt.tool' ] = [
414
- 'add_translation = plover.gui_qt.add_translation:AddTranslation' ,
415
- 'lookup = plover.gui_qt.lookup_dialog:LookupDialog' ,
416
- 'paper_tape = plover.gui_qt.paper_tape:PaperTape' ,
417
- 'suggestions = plover.gui_qt.suggestions_dialog:SuggestionsDialog' ,
418
- ]
419
366
try :
420
367
import PyQt5
421
368
except ImportError :
422
369
pass
423
370
else :
424
- setup_requires .append ('pyqt-distutils' )
425
371
try :
426
372
from pyqt_distutils .build_ui import build_ui
427
373
except ImportError :
@@ -448,7 +394,6 @@ def run(self):
448
394
cmdclass ['build_ui' ] = BuildUi
449
395
build_dependencies .append ('build_ui' )
450
396
451
- setup_requires .append ('Babel' )
452
397
try :
453
398
from babel .messages import frontend as babel
454
399
except ImportError :
@@ -480,18 +425,6 @@ def run(self):
480
425
}
481
426
build_dependencies .append ('compile_catalog' )
482
427
483
- dependency_links = [
484
- 'https://github.com/benoit-pierre/pyobjc/releases/download/pyobjc-3.1.1+plover2/pyobjc-core-3.1.1-plover2.tar.gz#egg=pyobjc-core' ,
485
- 'https://github.com/benoit-pierre/pyobjc/releases/download/pyobjc-3.1.1+plover2/pyobjc-framework-Cocoa-3.1.1-plover2.tar.gz#egg=pyobjc-framework-Cocoa' ,
486
- ]
487
-
488
- install_requires = [
489
- 'six' ,
490
- 'setuptools' ,
491
- 'pyserial>=2.7' ,
492
- 'appdirs>=1.3.0' ,
493
- 'hidapi' ,
494
- ]
495
428
496
429
extras_require = {
497
430
':"win32" in sys_platform' : [
@@ -513,10 +446,6 @@ def run(self):
513
446
],
514
447
}
515
448
516
- tests_require = [
517
- 'mock' ,
518
- ]
519
-
520
449
521
450
class CustomBuildPy (build_py ):
522
451
def run (self ):
@@ -535,54 +464,11 @@ def run(self):
535
464
url = __url__ ,
536
465
download_url = __download_url__ ,
537
466
license = __license__ ,
538
- author = 'Joshua Harlan Lifton' ,
539
- author_email = 'joshua.harlan.lifton@gmail.com' ,
540
- maintainer = 'Ted Morin' ,
541
- maintainer_email = 'morinted@gmail.com' ,
542
- include_package_data = True ,
543
- zip_safe = True ,
544
467
options = options ,
545
468
cmdclass = cmdclass ,
546
- setup_requires = setup_requires ,
547
- install_requires = install_requires ,
548
469
extras_require = extras_require ,
549
- tests_require = tests_require ,
550
- dependency_links = dependency_links ,
551
- entry_points = '\n ' .join ('[' + section + ']\n ' + '\n ' .join (
552
- entrypoint for entrypoint in entrypoint_list )
553
- for section , entrypoint_list in entrypoints .items ()
554
- ),
555
- packages = [
556
- 'plover' ,
557
- 'plover.dictionary' ,
558
- 'plover.gui_none' ,
559
- 'plover.gui_qt' ,
560
- 'plover.machine' ,
561
- 'plover.oslayer' ,
562
- 'plover.system' ,
563
- ],
564
470
data_files = [
565
471
('share/applications' , ['application/plover.desktop' ]),
566
472
('share/pixmaps' , ['plover/assets/plover.png' ]),
567
473
],
568
- classifiers = [
569
- 'Programming Language :: Python :: 2' ,
570
- 'Programming Language :: Python :: 2.7' ,
571
- 'Programming Language :: Python :: 3' ,
572
- 'Programming Language :: Python :: 3.4' ,
573
- 'Programming Language :: Python :: 3.5' ,
574
- 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)' ,
575
- 'Development Status :: 5 - Production/Stable' ,
576
- 'Environment :: X11 Applications' ,
577
- 'Environment :: MacOS X' ,
578
- 'Environment :: Win32 (MS Windows)' ,
579
- 'Intended Audience :: End Users/Desktop' ,
580
- 'Natural Language :: English' ,
581
- 'Operating System :: POSIX :: Linux' ,
582
- 'Operating System :: MacOS :: MacOS X' ,
583
- 'Operating System :: Microsoft :: Windows' ,
584
- 'Topic :: Adaptive Technologies' ,
585
- 'Topic :: Desktop Environment' ,
586
- ],
587
- ** kwargs
588
474
)
0 commit comments