Code Monkey home page Code Monkey logo

tomchen / example_pypi_package Goto Github PK

View Code? Open in Web Editor NEW
63.0 1.0 22.0 24 KB

Example PyPI (Python Package Index) package set up with automated tests and publishing using GitHub Actions CI/CD, primarily for GitHub + VS Code (Windows / Mac / Linux) users

Home Page: https://pypi.org/project/example-pypi-package

License: MIT License

Python 98.79% Shell 1.21%
pypi-package pypi python-package python-package-boilerplate python-package-example python-package-starter pypi-package-example python-package-demo

example_pypi_package's Introduction

Welcome!

You have stayed on my page for:

Clock

  • ๐Ÿ“Œ: ๐Ÿ‡ซ๐Ÿ‡ท
  • ๐Ÿ‘„: zh (cmn / hans & hant), en, fr, a little de & ja
  • ๐Ÿ“ง: [email protected]
  • ๐Ÿ : tomchen.org (rdr. to github.com/tomchen for now)
  • ๐Ÿงฐ: Typescript JavaScript ECMAScript 6 React Redux Vue.js Angular Svelte RxJS redux-observable D3 GSAP WebRTC Workbox jQuery CSS3 Sass Tailwind CSS Material UI Ant Design Bootstrap HTML5 Node.js Express Next.js Electron PHP Laravel Java Spring Python pandas NumPY MongoDB MySQL PostgreSQL GraphQL Apollo Git Subversion npm Yarn webpack gulp rollup.js Vite Snowpack Babel Handlebars ESLint Prettier Jest Enzyme Cypress Nightwatch.js CircleCI Codecov Visual Studio Code Sublime Text Gatsby Hugo WordPress Apache AWS Microsoft Azure Firebase Elasticsearch Cloudflare OpenID Deno docker React Native Delphi C C++ R NSIS Adobe Photoshop Adobe Illustrator Inkscape (geticon)
  • โค๏ธ: ๐Ÿ’ป ๐Ÿ“ท ๐Ÿš— ๐Ÿƒ ๐ŸŽต ๐ŸŒป

(move your mouse over the text/icons to view explanation)

example_pypi_package's People

Contributors

tomchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

example_pypi_package's Issues

Reading requirements.txt in setup.py

In my setup.py, I read both the README.md and the requirements.txt:

  import setuptools, pathlib
  HERE = pathlib.Path(__file__).parent
  README = (HERE / "README.md").read_text()
  REQUIRES = (HERE / "requirements.txt").read_text().strip().split("\n")
  REQUIRES = [lin.strip() for lin in REQUIRES]
  
  setuptools.setup(
      ...
      install_requires=REQUIRES,
      long_description=README,
      long_description_content_type="text/markdown",
      ...
  )

For this to work, I had to add requirements.txt to MANIFEST.in.

I hope it helps someone.

ModuleNotFoundError: No module named 'examplepy'

I downloaded the example package and tried to run test_module1.py. I got an error: ModuleNotFoundError: No module named 'examplepy'. I use VSCode on Windows 10, and the contents of vscode.env are as in the repository:

PYTHONPATH=/;src/;${PYTHONPATH}

Is it possible that VSCode ignores this file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.