Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate building library and extension #22

Merged
merged 1 commit into from Jul 20, 2015

Conversation

hickford
Copy link
Contributor

Hi Mike. I recently learnt how to separate building library and extension in setup.py . I'm not convinced it's any better or worse, but thought I'd share. What do you think?

@superbobry
Copy link
Member

Hello, I like the idea. Does this put any restrictions on the setuptools version?

@@ -64,12 +64,18 @@ def run_tests(self):
license=LICENSE,
url='https://github.com/kmike/datrie',
classifiers=CLASSIFIERS,
libraries=[
('libdatrie', dict(
sources=LIBDATRIE_FILES,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please PEP-8 this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Does that mean single or double quotes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I was referring to indentation in the dict call.

@hickford
Copy link
Contributor Author

Cool. Not that I know. I learnt it from http://stackoverflow.com/q/16854066/284795

The boon is "building libdatrie library" and "building datrie extension" show as separate steps in the install.

@hickford
Copy link
Contributor Author

Indented neatly

@superbobry
Copy link
Member

Looks good, thanks!

superbobry added a commit that referenced this pull request Jul 20, 2015
Separate building library and extension
@superbobry superbobry merged commit e9adc67 into pytries:master Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants