Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Make this a proper python package #4

Open
3 of 5 tasks
jcklie opened this issue May 15, 2018 · 4 comments
Open
3 of 5 tasks

Make this a proper python package #4

jcklie opened this issue May 15, 2018 · 4 comments
Labels
🆕Enhancement New feature or request
Milestone

Comments

@jcklie
Copy link
Contributor

jcklie commented May 15, 2018

It would be nice to make this project installable for instance via pip. This requires the project to be a proper Python package. This would allow potential users to install this either via git:

pip install git+https://github.com/dkpro/dkpro-pycas

Another nice thing would be to publish this on pypi. An example python package can be found in https://github.com/BillMills/python-package-example.

  • Move the code one folder up, therefore the README will be next to the setup.py in the root folder
  • Clean up the setup.py
  • Enable Travis for this repo
  • Clean up metadata
  • Publish on Pypi
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- moved library code one folder up
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- moved library code one folder up
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- fixed path to test files in tests/TestCasReader.py + move all test data into tests/testing_data folder (much cleaner)
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- in setup.py: replaced distutils with setuptools, added automatic discovery of packages; added test suite and dependencies
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- added tox config file to automate tests execution under different python versions
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- add Pipfile to manage virtualenv
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
…hon packagee

- added .tox folder to .gitignore
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- fixed path to test files throughout tests/TestCasXmiParser.py
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- fixed path to test files throughout tests/TestTypeSystemParser.py
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- tried adding a travis config
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- tried adding a travis config (now with the actual file)
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- switched to unittest2 to see if this fixes the build for py27 (was erroring on travis)
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- removing (for now) py27 from travis and tox config files
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- added .tox folder to .gitignore
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- fixed path to test files throughout tests/TestCasXmiParser.py
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- fixed path to test files throughout tests/TestTypeSystemParser.py
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- tried adding a travis config
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- tried adding a travis config (now with the actual file)
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- switched to unittest2 to see if this fixes the build for py27 (was erroring on travis)
reckart pushed a commit to mromanello/dkpro-pycas that referenced this issue Jun 1, 2018
- removing (for now) py27 from travis and tox config files
@reckart reckart added this to the 0.1.0 milestone Jun 1, 2018
@reckart reckart added the 🆕Enhancement New feature or request label Jun 1, 2018
@reckart
Copy link
Member

reckart commented Jun 1, 2018

I set up a Travis build job and added a build status badge to the README file.

reckart added a commit that referenced this issue Jun 2, 2018
@mromanello
Copy link
Contributor

In the perspective of publishing this package on PyPi (which I do hope will happen), would it be possible to change the package name to a lowercased name without spaces, e.g. "dkpro-pycas"?

When installing this via pipenv from github I'm running into few issues that I believe are related to the package name as specified in setup.py.

@jcklie
Copy link
Contributor Author

jcklie commented Nov 4, 2019

Please use dkpro-cassis.

@reckart
Copy link
Member

reckart commented Nov 4, 2019

DKPro PyCas is superseded by DKPro Cassis. The repo is here only for historic reference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🆕Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants