mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
98c00083b1
commit
0ff0ce51e8
@ -55,7 +55,7 @@ print >>loader, 'sys.argv[0] =', repr(os.path.basename(path))
|
|||||||
print >>loader, 'if', repr(dirpath), 'in sys.path: sys.path.remove(', repr(dirpath), ')'
|
print >>loader, 'if', repr(dirpath), 'in sys.path: sys.path.remove(', repr(dirpath), ')'
|
||||||
print >>loader, 'sys.path.append(', repr(site_packages), ')'
|
print >>loader, 'sys.path.append(', repr(site_packages), ')'
|
||||||
if do_devf:
|
if do_devf:
|
||||||
print >>loader, 'sys.path.insert(0, %r)'%devf
|
print >>loader, 'sys.path.insert(0, '+repr(devf)+')'
|
||||||
print >>loader, 'sys.frozen = "macosx_app"'
|
print >>loader, 'sys.frozen = "macosx_app"'
|
||||||
print >>loader, 'sys.frameworks_dir =', repr(frameworks_dir)
|
print >>loader, 'sys.frameworks_dir =', repr(frameworks_dir)
|
||||||
print >>loader, 'sys.extensions_location =', repr(extensions_dir)
|
print >>loader, 'sys.extensions_location =', repr(extensions_dir)
|
||||||
@ -390,7 +390,7 @@ def main():
|
|||||||
'calibre.ebooks.metadata.amazon',
|
'calibre.ebooks.metadata.amazon',
|
||||||
],
|
],
|
||||||
'packages' : ['PIL', 'Authorization', 'lxml', 'dns'],
|
'packages' : ['PIL', 'Authorization', 'lxml', 'dns'],
|
||||||
'excludes' : ['IPython'],
|
'excludes' : ['IPython', 'PyQt4.uic.port_v3.proxy_base'],
|
||||||
'plist' : { 'CFBundleGetInfoString' : '''calibre, an E-book management application.'''
|
'plist' : { 'CFBundleGetInfoString' : '''calibre, an E-book management application.'''
|
||||||
''' Visit http://calibre.kovidgoyal.net for details.''',
|
''' Visit http://calibre.kovidgoyal.net for details.''',
|
||||||
'CFBundleIdentifier':'net.kovidgoyal.calibre',
|
'CFBundleIdentifier':'net.kovidgoyal.calibre',
|
||||||
|
@ -63,25 +63,24 @@ this, make your changes, then run::
|
|||||||
bzr commit -m "Comment describing your changes"
|
bzr commit -m "Comment describing your changes"
|
||||||
bzr send -o my-changes
|
bzr send -o my-changes
|
||||||
|
|
||||||
This will create a my-changes file in the current directory, simply attach that to a ticket on the |app| bug tracker at
|
This will create a my-changes file in the current directory, simply attach that to a ticket on the |app| `bug tracker <http://calibre.kovidgoyal.net>`_.
|
||||||
`http://calibre.kovidgoyal.net`_.
|
|
||||||
|
|
||||||
If you plan to do a lot of development on |app|, then the best method is to create a
|
If you plan to do a lot of development on |app|, then the best method is to create a
|
||||||
`Launchpad <http://launchpad.net>`_ account. Once you have the account, you can create your own
|
`Launchpad <http://launchpad.net>`_ account. Once you have the account, you can create your own
|
||||||
branch in which you do |app| development. To do that go to `https://code.launchpad.net`_ and click
|
branch in which you do |app| development. To do that go to `Launchpad code <https://code.launchpad.net>`_ and click
|
||||||
"Register a branch" (choose a branch type of "Hosted"). Once the branch is setup you can associate it
|
"Register a branch" (choose a branch type of "Hosted"). Once the branch is setup you can associate it
|
||||||
with the code you checked out in the previous step running the following command in any directory
|
with the code you checked out in the previous step running the following command in any directory
|
||||||
in the |app| code you checked out::
|
in the |app| code you checked out::
|
||||||
|
|
||||||
bzr push <URL of your launchpad branch>
|
bzr push <URL of your launchpad branch>
|
||||||
|
|
||||||
This will host your branch on launchpad. Now go to `http://code.launchpad.net/calibre`_ and register
|
This will host your branch on launchpad. Now go to `calibre@Launchapd <http://code.launchpad.net/calibre>`_ and register
|
||||||
your branch with the |app| project. Now whenever you commit changes to your branch with the command::
|
your branch with the |app| project. Now whenever you commit changes to your branch with the command::
|
||||||
|
|
||||||
bzr commit -m "Comment describing your change"
|
bzr commit -m "Comment describing your change"
|
||||||
|
|
||||||
I can merge it directly from you branch into the main |app| source tree. You should also subscribe to the |app|
|
I can merge it directly from you branch into the main |app| source tree. You should also subscribe to the |app|
|
||||||
developers mailing list at `https://launchpad.net/~calibre-devs`_. Before making major changes, you should
|
developers mailing list `calibre-devs <https://launchpad.net/~calibre-devs>`_. Before making major changes, you should
|
||||||
discuss them on the mailing list to ensure that the changes will be accepted once you're done.
|
discuss them on the mailing list to ensure that the changes will be accepted once you're done.
|
||||||
|
|
||||||
|
|
||||||
@ -134,7 +133,7 @@ calibre is the directory that contains the src and resources sub directories. Th
|
|||||||
This assumes that you have installed the |app| command line tools. This can be done via Preferences->Advanced in the |app| GUI.
|
This assumes that you have installed the |app| command line tools. This can be done via Preferences->Advanced in the |app| GUI.
|
||||||
The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to the absolute path to the src directory.
|
The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to the absolute path to the src directory.
|
||||||
So, following the example above, it would be ``/Users/kovid/work/calibre/src``. Apple
|
So, following the example above, it would be ``/Users/kovid/work/calibre/src``. Apple
|
||||||
`documentation http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-BCIJIJBH`_
|
`documentation <http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-BCIJIJBH>`_
|
||||||
on how to set environment variables.
|
on how to set environment variables.
|
||||||
|
|
||||||
Once you have set the environment variable, open a new Terminal and check that it was correctly set by using
|
Once you have set the environment variable, open a new Terminal and check that it was correctly set by using
|
||||||
|
Loading…
x
Reference in New Issue
Block a user