File: setup.in

package info (click to toggle)
rpy 1.0.3-15
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 692 kB
  • ctags: 671
  • sloc: ansic: 2,144; python: 1,592; makefile: 129; sh: 69
file content (948 lines) | stat: -rw-r--r-- 15,807 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
#  $Id$
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the RPy python module.
#
# The Initial Developer of the Original Code is Walter Moreira.
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#    Gregory R. Warnes <greg@warnes.net> (Maintainer)
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****

#################
# This file can be used to customize how rpy is built.  Each section
# allows you to provide values for any command option available for
# the corresponding command.  Some examples are included, but you
# Can learn all of the available options for a given command by
# running
#   $ python setup.py help <commmand>
##################

#######
[build]            # Build everything needed to install
#######

## base directory for build library
#
# build-base=/some/path
#

## build directory for platform-neutral distributions
#
# build-purelib=/some/path
#

## build directory for platform-specific distributions
#
# build-platlib=/some/path
#

## build directory for all distribution (defaults to either
## build-purelib or build-platlib
#
# build-lib=/some/path
#

## build directory for scripts
#
# build-scripts=/some/path
#

## temporary build directory
#
# build-temp=/some/path
#

## specify the compiler type
#
# compiler=mingw
#

## compile extensions and libraries with debugging information
#
# debug=True
#

## forcibly build everything (ignore file timestamps)
#
# force
#

## specify final destination interpreter path (build.py)
#
# executable=/some/path

##########
[build_py]         # "build" pure Python modules (copy to build directory)
##########

## directory to "build" (copy) to
#
# build-lib=/some/path
#

## compile .py to .pyc
#
# compile=True
#

## don't compile .py files [default]
#
# no-compile=True
#

## compile with optimization: -O1 for "python -O", -O2 for "python
## -OO", and -O0 to disable [default: -O0]
#
# optimize=1
#


## forcibly build everything (ignore file timestamps)
#
# force=True
#

###########
[build_ext]        # Build C/C++ extensions (compile/link to build directory)
###########

## directory for compiled extension modules
#
# build-lib=/some/path
#

## directory for temporary files (build by-products)
#
# build-temp=/some/path
#

## ignore build-lib and put compiled extensions into the source
## directory alongside your pure Python modules#
#
# inplace=True
#


## list of directories to search for header files (separated by ':')
#
# include-dirs=/some/path:/some/other/path
#


## C preprocessor macros to define
#
# define=SOMEFLAG="SomeValue"
#

## C preprocessor macros to undefine
#
# undef=SOMEFLAG
#

## external C libraries to link with
#
# libraries=someLib
#

## directories to search for external C libraries (separated by ':')
##
#
# library-dirs=/some/path:/some/other/path

## directories to search for shared C libraries at runtime
#
# rpath=/some/path:/some/other/path
#

## extra explicit link objects to include in the link
#
# link-objects=someFile.o
#

## compile/link with debugging information
#
# debug=True
#

## forcibly build everything (ignore file timestamps)
#
# force=True
#

## specify the compiler type
#
# compiler=mingw
#

## make SWIG create C++ files (default is C)
#
# swig-cpp=True
#

## list of SWIG command line options
#
# swig-opts=-s foo -m bar
#

## path to the SWIG executable
#
# swig=/some/path
#


############
[build_clib]       # Build C/C++ libraries used by Python extensions
############

## directory to build C/C++ libraries to
#
# build-clib
#

## directory to put temporary build by-products
#
# build-temp
#

## compile with debugging information
#
# debug
#

## forcibly build everything (ignore file timestamps)
#
# force
#

## specify the compiler type
#
# compiler
#



###############
[build_scripts]    # "build" scripts (copy and fixup #! line)
###############

## directory to "build" (copy) to
#
# build-dir
#

## forcibly build everything (ignore file timestamps
#
# force
#

## specify final destination interpreter path
#
# executable
#



#######
[clean]            # Clean up output of 'build' command
#######

## base build directory (default: 'build.build-base')
#
# build-base
#

## build directory for all modules (default: 'build.build-lib')
#
# build-lib
#
                     
## temporary build directory (default: 'build.build-temp')
#
# build-temp
#

## build directory for scripts (default: 'build.build-scripts')
#
# build-scripts
#
                     
## temporary directory for built distributions
#
# bdist-base
#

## remove all build output, not just temporary by-products
#
# all
#


#########  
[install]          # Install everything from build directory
#########

## installation prefix
#
# prefix
#

## (Unix only) prefix for platform-specific files
#
# exec-prefix
#

## (Unix only) home directory to install under
#
# home
#

## base installation directory (instead of prefix or home)
#
# install-base
#
                      
## base installation directory for platform-specific files (instead
## of exec-prefix or home)
#
# install-platbase
#


## install everything relative to this alternate root directory
#
# root
#
                      
## installation directory for pure Python module distributions
#
# install-purelib
#
                      
## installation directory for non-pure module distributions
#
# install-platlib
#

## installation directory for all module distributions (overrides
## install-purelib and install-platlib)
#
# install-lib
#

                      
## installation directory for C/C++ headers
#
# install-headers
#

## installation directory for Python scripts
#
# install-scripts
#

## installation directory for data files
#
# install-data
#

## compile .py to .pyc [default]
#
# compile
#

## don't compile .py files
#
# no-compile
#

## also compile with optimization: -O1 for "python -O", -O2 for
## "python -OO", and -O0 to disable [default: -O0]
#
# optimize=1
#
                      
## force installation (overwrite any existing files)
#
# force
#

## skip rebuilding everything (for testing/debugging)
#
# skip-build
#

## filename in which to record list of installed files
#
# record
#


#############
[install_lib]      # Install all Python modules (extensions and pure Python)
#############

## directory to install to
#
# install-dir
#

## build directory (where to install from)
#
# build-dir
#

## force installation (overwrite existing files)
#
# force
#

## compile .py to .pyc [default]
#
# compile
#

## don't compile .py files
#
# no-compile
#

## compile with optimization: -O1 for "python -O", -O2
## for "python -OO", and -O0 to disable [default: -O0]
#
# optimize
#

                      
## skip the build steps
#
# skip-build
#



#################
[install_headers]  # Install C/C++ header files
#################

## directory to install header files to
#
# install-dir
#

## force installation (overwrite existing files)
#
# force
#


#################
[install_scripts]  # Install scripts (Python or otherwise)
#################

## directory to install scripts to
#
# install-dir
#

## build directory (where to install from)
#
# build-dir
#

## force installation (overwrite existing files)
#
# force
#

## skip the build steps
#
# skip-build
#


##############
[install_data]     # Install data files
##############

## base directory for installing data files (default: installation
## base dir)
#
# install-dir
#

## install everything relative to this alternate root directory
#
# root
#

## force installation (overwrite existing files)
#
# force
#


#######
[sdist]            # Create a source distribution (tarball, zip file, etc.)
#######

## name of manifest template file [default: MANIFEST.in]
#
# template
#

## name of manifest file [default: MANIFEST]
#
# manifest
#

## include the default file set in the manifest [default; disable
## with no-defaults]
#
# use-defaults
#

                         
## don't include the default file set
#
# no-defaults
#

## specifically exclude files/directories that should not be
## distributed (build tree, RCS/CVS dirs, etc.)  [default; disable
## with no-prune]
#
# prune
#
                         
## don't automatically exclude anything
#
# no-prune
#

## just regenerate the manifest and then stop (implies
## force-manifest)
#
# manifest-only
#

## forcibly regenerate the manifest and carry on as usual
#
# force-manifest
#
                         
## formats for source distribution (comma-separated list)
#
# formats
#

## keep the distribution tree around after creating archive file(s)
#
# keep-temp
#

## directory to put the source distribution archive(s) in [default:
## dist]
#
# dist-dir
#


##########
[register]         # register the distribution with the Python package index
##########

## url of repository [default: http://www.python.org/pypi]
#
# repository
#

## list the valid Trove classifiers
#
# list-classifiers
#

## display full response text from server
#
# show-response
#


#######
[bdist]            # Create a built (binary) distribution
#######

## temporary directory for creating built distributions
#
# bdist-base
#

## platform name to embed in generated filenames
#
# plat-name
#

## formats for distribution (comma-separated list)
#
# formats
#

## directory to put final built distributions in [default:dist]
#
# dist-dir
#
                     
## skip rebuilding everything (for testing/debugging)
#
# skip-build
#

## lists available distribution formats
#
# help-formats
#



############
[bdist_dumb]       # Create a "dumb" built distribution
############

## temporary directory for creating the distribution
#
# bdist-dir
#

## platform name to embed in generated filenames
#
# plat-name
#
                    
## archive format to create (tar, ztar, gztar, zip)
#
# format
#

## keep the pseudo-installation tree around after creating
## the distribution archive
#
# keep-temp
#

## directory to put final built distributions in
#
# dist-dir
#

## skip rebuilding everything (for testing/debugging)
#
# skip-build
#

## build the archive using relative paths(default: false)
#
# relative
#


###########
[bdist_rpm]        # Create an RPM distribution
###########

## base directory for creating built distributions
#
# bdist-base
#

## base directory for creating RPMs (defaults to "rpm"
## under bdist-base; must be specified for RPM 2)
#
# rpm-base
#

## directory to put final RPM files in (and .spec files if
## spec-only)
#
# dist-dir
#
                       
## path to Python interpreter to hard-code in the .spec file
## (default: "python")
#
# python
#

                       
## hard-code the exact path to the current Python interpreter in the
#.spec file
#
# fix-python
#

## only regenerate spec file
#
# spec-only
#

## only generate source RPM
#
# source-only
#

## only generate binary RPM
#
# binary-only
#

## use bzip2 instead of gzip to create source distribution
#
# use-bzip2
#

## name of the (Linux) distribution to which this RPM applies (*not*
## the name of the module distribution!)
#
# distribution-name
#

## package classification [default: "Development/Libraries"]
#
# group
#
                       
## RPM release number
#
# release
#

## RPM serial number
#
# serial
#

## RPM "vendor" (eg. "Joe Blow <joe@example.com>") [default:
## maintainer or author from setup script]
#
# vendor
#
                       
## RPM packager (eg. "Jane Doe <jane@example.net>")[default: vendor]
#
# packager
#
                       
## list of documentation files (space or comma-separated)
#
# doc-files
#

## RPM changelog
#
# changelog
#

## name of icon file
#
# icon
#

## capabilities provided by this package
#
# provides
#

## capabilities required by this package
#
# requires
#

## capabilities which conflict with this package
#
# conflicts
#

## capabilities required to build this package
#
# build-requires
#

## capabilities made obsolete by this package
#
# obsoletes
#

## do not automatically calculate dependencies
#
# no-autoreq
#

## don't clean up RPM build directory
#
# keep-temp
#

## clean up RPM build directory [default]
#
# no-keep-temp
#

## compile with RPM_OPT_FLAGS when building from source RPM
#
# use-rpm-opt-flags
#
                       
## do not pass any RPM CFLAGS to compiler
#
# no-rpm-opt-flags
#

## RPM 3 compatibility mode (default)
#
# rpm3-mode
#

## RPM 2 compatibility mode
#
# rpm2-mode
#

## Specify a script for the PREP phase of RPM building
#
# prep-script
#

## Specify a script for the BUILD phase of RPM building
#
# build-script
#

## Specify a script for the pre-INSTALL phase of RPM building
#
# pre-install
#
                       
## Specify a script for the INSTALL phase of RPM building
#
# install-script
#

## Specify a script for the post-INSTALL phase of RPM building
#
# post-install
#
                       
## Specify a script for the pre-UNINSTALL phase of RPM building
#
# pre-uninstall
#

## Specify a script for the post-UNINSTALL phase of RPM building
#
# post-uninstall
#

## Specify a script for the CLEAN phase of RPM building
#
# clean-script
#

## Specify a script for the VERIFY phase of the RPM build
#
# verify-script
#

## Force an architecture onto the RPM build process
#
# force-arch
#


###############
[bdist_wininst]    # Create an executable installer for MS Windows
###############

## temporary directory for creating the distribution
#
# bdist-dir
#

## keep the pseudo-installation tree around after creating the
## distribution archive
#
# keep-temp
#
                             
## require a specific python version on the target system
#
# target-version
#

## do not compile .py to .pyc on the target system
#
# no-target-compile
#

## do not compile .py to .pyo (optimized)on the target system
#
# no-target-optimize
#

## directory to put final built distributions in
#
# dist-dir
#

## bitmap to use for the installer instead of python-powered logo
#
# bitmap
#
                             
## title to display on the installer background instead of default
#
# title
#
                             
## skip rebuilding everything (for testing/debugging)
#
# skip-build
#
                             
## basename of installation script to be run afterinstallation or
## before deinstallation
#
# install-script
#

                             
## Fully qualified filename of a script to be run before any files
## are installed.  This script need not be in the distribution
#
# pre-install-script
#